This is an archive of the discontinued LLVM Phabricator instance.

[libc++][libc++abi][libunwind] Dedup install path var definitions
ClosedPublic

Authored by Ericson2314 on Jan 10 2022, 7:12 PM.

Details

Reviewers
phosek
beanz
compnerd
ldionne
Group Reviewers
Restricted Project
Restricted Project
Restricted Project
Commits
rG0a8d15ad55e3: [libc++][libc++abi][libunwind] Dedup install path var definitions
Summary

In D116873 I did this for libunwind prior to defining a new install path
variable. But I think the change is good on its own, and libc++{,abi}
could also use it.

libc++ needed the base header var defined above the conditional part to
use it for the prefi+ed headers in the non-target-specific case. For
consistency, I therefore put the unconditional ones above for all 3
libs, which is why I touched the libunwind code (seeing that it had the
core change already)

Diff Detail

Event Timeline

Ericson2314 created this revision.Jan 10 2022, 7:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2022, 7:12 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Ericson2314 requested review of this revision.Jan 10 2022, 7:12 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 10 2022, 7:12 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
phosek accepted this revision.Jan 11 2022, 12:23 AM

LGTM

ldionne accepted this revision.Jan 11 2022, 7:48 AM
This revision is now accepted and ready to land.Jan 11 2022, 7:48 AM