summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-08 00:55:22 +0000
committerChris Lattner <sabre@nondot.org>2009-02-08 00:55:22 +0000
commitbf20a9a57d0669da6b0b3d9b5ea6e83398bddb4a (patch)
tree5fd20ee8cbc01fb40c3ee6d66ae779fa3b0b12fd /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent7d70fd27a4bdd37366920b5da1d2f87984563e92 (diff)
downloadbcm5719-llvm-bf20a9a57d0669da6b0b3d9b5ea6e83398bddb4a.tar.gz
bcm5719-llvm-bf20a9a57d0669da6b0b3d9b5ea6e83398bddb4a.zip
Genericize the existing logic for removing duplicate header dirs to apply
the "system dirs win over user dirs" logic to framework and headermap search locations as well as normal directories. This means that clang t.m -F/System/Library/Frameworks will treat /System/Library/Frameworks as a system directory not a user directory. If you use -v, the difference is: Before: ignoring nonexistent directory "/usr/libdata/gcc41" ignoring duplicate framework "/System/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: After: ignoring nonexistent directory "/usr/libdata/gcc41" ignoring duplicate directory "/System/Library/Frameworks" as it is a non-system directory that duplicates a system directory #include "..." search starts here: #include <...> search starts here: This fixes rdar://6566429. llvm-svn: 64060
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud