This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Fix compilation when multiple architectures can be targeted
ClosedPublic

Authored by evgeny777 on May 29 2021, 10:07 AM.

Details

Summary

clang based toolchain can support all of arm, armhf and armv6m architectures which will break compilation of compiler-rt libraries when arm or armv6m is tested after armhf, because latter is adding --DCOMPILER_RT_ARMHF_TARGET.

Diff Detail

Event Timeline

evgeny777 created this revision.May 29 2021, 10:07 AM
evgeny777 requested review of this revision.May 29 2021, 10:07 AM
mstorsjo accepted this revision.May 29 2021, 12:36 PM

LGTM, I think this seems reasonable.

Maybe it'd be good to wait for a little while (e.g. one working day?) if someone else wants to comment something, but to me it seems correct.

This revision is now accepted and ready to land.May 29 2021, 12:36 PM
This revision was landed with ongoing or failed builds.Jun 1 2021, 5:27 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2021, 5:27 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript