Diff Detail
Diff Detail
Event Timeline
Comment Actions
This needs tests; perhaps extend test/Driver/linux-header-search.cpp for this.
| lib/Driver/ToolChains/Linux.cpp | ||
|---|---|---|
| 421 | Can you instead return computeSysRoot() here and remove the fallback from BuildCompilation? That way, we won't perform the checks in defaultSysRoot twice if neither flag is specified. | |
Can you instead return computeSysRoot() here and remove the fallback from BuildCompilation? That way, we won't perform the checks in defaultSysRoot twice if neither flag is specified.