From: Chris Lattner Date: Thu, 19 Feb 2009 04:48:57 +0000 (+0000) Subject: PR3614: "ignoring nonexistent directory" should print the -isysroot X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50b587d02f84ccf447d835fe8fcb79aad3a3e126;p=clang PR3614: "ignoring nonexistent directory" should print the -isysroot mapped path, not the requested path. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65009 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/InitHeaderSearch.cpp b/lib/Driver/InitHeaderSearch.cpp index 860d60d1b6..4b5275d726 100644 --- a/lib/Driver/InitHeaderSearch.cpp +++ b/lib/Driver/InitHeaderSearch.cpp @@ -20,7 +20,6 @@ #include "llvm/System/Path.h" #include "llvm/Config/config.h" #include - using namespace clang; void InitHeaderSearch::AddPath(const std::string &Path, IncludeDirGroup Group, @@ -75,7 +74,8 @@ void InitHeaderSearch::AddPath(const std::string &Path, IncludeDirGroup Group, } if (Verbose) - fprintf(stderr, "ignoring nonexistent directory \"%s\"\n", Path.c_str()); + fprintf(stderr, "ignoring nonexistent directory \"%s\"\n", + MappedPath.c_str()); }