This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

tbaeder created this revision.Feb 21 2022, 7:04 AM
tbaeder requested review of this revision.Feb 21 2022, 7:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2022, 7:04 AM
sbc100 accepted this revision.Feb 21 2022, 3:31 PM
This revision is now accepted and ready to land.Feb 21 2022, 3:31 PM

@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

I don't see why not.

tbaeder updated this revision to Diff 410544.Feb 22 2022, 8:27 AM
This revision was landed with ongoing or failed builds.Feb 23 2022, 5:43 AM
This revision was automatically updated to reflect the committed changes.