Messy stuff. Environments are optional and a missing environment is distinct from the default "unknown" environment enumerator.
Also the test sucks, because the function uses the host triple and is unpredictable.
rdar://91007207
Paths
| Differential D122946
Prevent HostInfoBase::GetAugmentedArchSpec() from attaching "unknown" environments ClosedPublic Authored by aprantl on Apr 1 2022, 4:27 PM.
Details Summary Messy stuff. Environments are optional and a missing environment is distinct from the default "unknown" environment enumerator. rdar://91007207
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 1 2022, 5:37 PM Closed by commit rGcf3e4011b57b: Prevent GetAugmentedArchSpec() from attaching "unknown" environments (authored by aprantl). · Explain WhyApr 4 2022, 8:57 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 420198 lldb/source/Host/common/HostInfoBase.cpp
lldb/unittests/Host/HostInfoTest.cpp
|