This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Produce the right arch suffix for arm baremetal
ClosedPublic

Authored by manojgupta on Nov 6 2021, 7:17 PM.

Details

Summary

D98452 introduced a mismatch between clang expectations for
builtin name for baremetal targets on arm. Fix it by
adding a case for baremetal. This now matches the output of
"clang -target armv7m-none-eabi -print-libgcc-file-name \
-rtlib=compiler-rt"

Diff Detail

Event Timeline

manojgupta created this revision.Nov 6 2021, 7:17 PM
manojgupta requested review of this revision.Nov 6 2021, 7:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 6 2021, 7:17 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
mstorsjo accepted this revision.Nov 7 2021, 4:06 AM

LGTM, thanks!

This revision is now accepted and ready to land.Nov 7 2021, 4:06 AM