This is an archive of the discontinued LLVM Phabricator instance.

[driver] Perform fallback target searches for stdlib
ClosedPublic

Authored by smeenai on Aug 31 2023, 9:17 AM.

Details

Summary

Searching for target-specific standard library header and library paths
should perform fallback searches for targets, the same way searching for
the runtime libraries does. It's important for the header and library
searches to be consistent, otherwise we could end up using mismatched
headers and libraries. (See also https://reviews.llvm.org/D146664.)

Diff Detail

Event Timeline

smeenai created this revision.Aug 31 2023, 9:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2023, 9:17 AM
Herald added a subscriber: abrachet. · View Herald Transcript
smeenai requested review of this revision.Aug 31 2023, 9:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2023, 9:17 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
smeenai updated this revision to Diff 555084.Aug 31 2023, 9:22 AM

Kick off pre-merge checks

glandium resigned from this revision.Aug 31 2023, 3:10 PM

This replaces D146664 quite nicely.

smeenai updated this revision to Diff 555247.Aug 31 2023, 9:24 PM

Rebase to avoid pre-existing CI failure

phosek accepted this revision.Aug 31 2023, 10:34 PM

LGTM

This revision is now accepted and ready to land.Aug 31 2023, 10:34 PM
This revision was automatically updated to reflect the committed changes.