This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Stop passing both i386 and i686 in parallel as architectures on Windows
ClosedPublic

Authored by mstorsjo on Jun 26 2022, 2:05 PM.

Details

Summary

When an object file returns multiple architectures, it is treated
as a fat binary - which really isn't the case of i386 vs i686 where
the object file actually has one architecture.

This allows getting rid of hardcoded architecture triples in
PlatformWindows.

The parallel i386 and i686 architecture strings stem from
5e6f45201f0b62c1e7a24fc396f3ea6e10dc880d / D7120 and
ad587ae4ca143d388c0ec4ef2faa1b5eddedbf67 / D4658.

Diff Detail

Event Timeline

mstorsjo created this revision.Jun 26 2022, 2:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2022, 2:05 PM
mstorsjo requested review of this revision.Jun 26 2022, 2:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2022, 2:05 PM
labath accepted this revision.Jun 28 2022, 1:07 AM

Thanks for cleaning this up.

This revision is now accepted and ready to land.Jun 28 2022, 1:07 AM