Page MenuHomePhabricator

[ORC] Add initial support for aarch64 in ELFNixPlatform
ClosedPublic

Authored by sunho on Jun 4 2022, 5:46 PM.

Details

Summary

This patch adds the aarch64 support in ELFNixPlatform. These are few simple changes, but it allows us to use the orc runtime in ELF/AARCH64 backend. I observed that it succesfully run the static initializers of libc++ iostream implementation so that "cout << Hello world" testcase starts to work.

Diff Detail

Event Timeline

sunho created this revision.Jun 4 2022, 5:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2022, 5:46 PM
sunho requested review of this revision.Jun 4 2022, 5:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2022, 5:46 PM
lhames accepted this revision.Jun 9 2022, 3:26 PM

Does that mean that we were already building the ORC runtime for ELF/arm64? I think that means that we missed some gating in the build system: we should only have been building it for arm64 on Darwin.

It comes in handy here though. LGTM. :)

This revision is now accepted and ready to land.Jun 9 2022, 3:26 PM