As an alternative to https://reviews.llvm.org/D119056 that addresses the issues raised with that patch and fixes the test case to succeed.
I think this does what Jonathan explained in https://reviews.llvm.org/D119056#3313911
Differential D120251
[clang][driver][wasm] Fix libstdc++ target-dependent include dir tbaeder on Feb 21 2022, 7:04 AM. Authored by
Details As an alternative to https://reviews.llvm.org/D119056 that addresses the issues raised with that patch and fixes the test case to succeed. I think this does what Jonathan explained in https://reviews.llvm.org/D119056#3313911
Diff Detail
Event TimelineComment Actions @sbc100 Do you think we should add /backward as well? Gnu.cpp does that it seems: https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/Gnu.cpp#L2959-L2960 |