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
Paths
| Differential D120251
[clang][driver][wasm] Fix libstdc++ target-dependent include dir ClosedPublic Authored by tbaeder on Feb 21 2022, 7:04 AM.
Details Summary 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 TimelineHerald added subscribers: sunfish, jgravelle-google, dschuff. · View Herald TranscriptFeb 21 2022, 7:04 AM This revision is now accepted and ready to land.Feb 21 2022, 3:31 PM Comment 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 Comment Actions
I don't see why not. This revision was landed with ongoing or failed builds.Feb 23 2022, 5:43 AM Closed by commit rG2f300d34decb: [clang][driver][wasm] Fix libstdc++ target-dependent include dir (authored by tbaeder). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 410544 clang/lib/Driver/ToolChains/WebAssembly.cpp
clang/test/Driver/wasm-toolchain.cpp
|
clang-format: please reformat the code