Open brad0 opened 10 months ago
@llvm/issue-subscribers-clang-driver
Author: Brad Smith (brad0)
@jansvoboda11 @jroelofs
https://reviews.llvm.org/D158376 (DragonFlyBSD) is a migration example.
@MaskRay I had spoken to jroelofs on Discourse and he said to file an issue so he could pass it around to someone appropriate at Apple.
cc: @ldionne @cachemeifyoucan
Reverted in https://github.com/llvm/llvm-project/commit/d34901f30b8b7ac8fe1437eeb588da6805b27cfb due to LSan issues.
The remaining bits for the header path handling need to be moved over to the Driver within AddClangSystemIncludeArgs() as has been done for other OS's to date.
clang/lib/Lex/InitHeaderSearch.cpp
https://github.com/llvm/llvm-project/blob/7113c80289d62de95bca818109324601a51fefd8/clang/lib/Lex/InitHeaderSearch.cpp#L343