This is an archive of the discontinued LLVM Phabricator instance.

[JITLink] Add platform and runtime support for Linux riscv64
AcceptedPublic

Authored by StephenFan on Feb 24 2022, 9:22 AM.

Details

Summary

This patch add platform and runtime support for Linux riscv64 platform. As show in test cases, atexit, __cxa_atexit, static initializer were supported.

These test cases were passed in my local machine. But it seems that LLVM buildbot doesn't have a riscv64 worker to test this test cases.

Diff Detail

Event Timeline

StephenFan created this revision.Feb 24 2022, 9:22 AM
StephenFan requested review of this revision.Feb 24 2022, 9:22 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 24 2022, 9:22 AM
Herald added subscribers: llvm-commits, Restricted Project, pcwang-thead, eopXD. · View Herald Transcript
lhames accepted this revision.Jun 14 2022, 9:43 PM

Very belatedly -- LGTM! Thanks @StephenFan!

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