diff options
| author | James Y Knight <jyknight@google.com> | 2019-05-22 20:39:51 +0000 |
|---|---|---|
| committer | James Y Knight <jyknight@google.com> | 2019-05-22 20:39:51 +0000 |
| commit | b2ece169ed609b9111c290254d831101d21cbf8f (patch) | |
| tree | 823071454efcb255f7f87d11641e98717c4d45fa /llvm/lib/Analysis/Loads.cpp | |
| parent | 275a55cb5a622491269bf89ba717d73766acaac6 (diff) | |
| download | bcm5719-llvm-b2ece169ed609b9111c290254d831101d21cbf8f.tar.gz bcm5719-llvm-b2ece169ed609b9111c290254d831101d21cbf8f.zip | |
Add back --sysroot support for darwin header search.
Before e97b5f5cf37e ([clang][Darwin] Refactor header search path logic
into the driver), both --sysroot and -isysroot worked to specify where
to look for system and C++ headers on Darwin. However, that change
caused clang to start ignoring --sysroot.
This fixes the regression, and adds tests.
(I also note that on all other platforms, clang seems to almost
completely ignore -isysroot, but that's another issue...)
Differential Revision: https://reviews.llvm.org/D62268
llvm-svn: 361429
Diffstat (limited to 'llvm/lib/Analysis/Loads.cpp')
0 files changed, 0 insertions, 0 deletions

