This is an archive of the discontinued LLVM Phabricator instance.

[mac/arm] Fix rtti codegen tests when running on an arm mac
ClosedPublic

Authored by thakis on Nov 20 2020, 6:32 PM.

Details

Summary

[mac/arm] Fix rtti codegen tests when running on an arm mac

shouldRTTIBeUnique() returns false for iOS64CXXABI, which causes
RTTI objects to be emitted hidden. Update two tests that didn't
expect this to happen for the default triple.

Also rename iOS64CXXABI to AppleARM64CXXABI, since it's used for
arm64-apple-macos triples too.

Part of PR46644.

Diff Detail

Event Timeline

thakis created this revision.Nov 20 2020, 6:32 PM
thakis requested review of this revision.Nov 20 2020, 6:32 PM
hans accepted this revision.Dec 3 2020, 6:09 AM
hans added a subscriber: hans.

lgtm

This revision is now accepted and ready to land.Dec 3 2020, 6:09 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2020, 6:17 AM