]> granicus.if.org Git - clang/commitdiff
PR3614: "ignoring nonexistent directory" should print the -isysroot
authorChris Lattner <sabre@nondot.org>
Thu, 19 Feb 2009 04:48:57 +0000 (04:48 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 19 Feb 2009 04:48:57 +0000 (04:48 +0000)
mapped path, not the requested path.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65009 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/InitHeaderSearch.cpp

index 860d60d1b6498bc6d74b3b96828b1e2bcbc61505..4b5275d726444ffc146561f87f5208f2509dd3c8 100644 (file)
@@ -20,7 +20,6 @@
 #include "llvm/System/Path.h"
 #include "llvm/Config/config.h"
 #include <vector>
-
 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());
 }