From 50b587d02f84ccf447d835fe8fcb79aad3a3e126 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 19 Feb 2009 04:48:57 +0000 Subject: [PATCH] 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 --- lib/Driver/InitHeaderSearch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } -- 2.40.0