Remove duplicate test from linux-ld.c that belongs to
(and is already done in) linux-header-search.cpp.
Details
- Reviewers
mclow.lists chandlerc EricWF
Diff Detail
Event Timeline
They are currently not by default. But with D30015 for runtime libraries, this may become a place for headers packaged with the compiler.
Note that I didn't say "are not", but rather "should not".
The only things that should live in the resource dir are things that are tied to the specific version of the compiler, i.e. sanitizer runtimes, builtins, and the few compiler-provided headers. Everything else should live in sysroots/SDKs, and the resource dir is not where those should live.
http://lists.llvm.org/pipermail/cfe-dev/2017-January/052512.html suggested to install runtime libraries (like libomp, but I think libc++ in certain cases may fall under the same category) to ResourceDir and I wanted the headers to be co-located. However, I can live with installing them to normal include