[PATCH] D120497: [JITLink] Add platform and runtime support for Linux riscv64

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 24 09:23:00 PST 2022


StephenFan created this revision.
StephenFan added reviewers: lhames, jrtc27, fourdim.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, mgorny.
StephenFan requested review of this revision.
Herald added subscribers: llvm-commits, Sanitizers, pcwang-thead, eopXD.
Herald added projects: Sanitizers, LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120497

Files:
  compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
  compiler-rt/test/orc/TestCases/Linux/riscv64/lit.local.cfg.py
  compiler-rt/test/orc/TestCases/Linux/riscv64/trivial-atexit.S
  compiler-rt/test/orc/TestCases/Linux/riscv64/trivial-cxa-atexit.S
  compiler-rt/test/orc/TestCases/Linux/riscv64/trivial-static-initializer.S
  llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120497.411159.patch
Type: text/x-patch
Size: 5242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220224/fc7ab14e/attachment.bin>


More information about the llvm-commits mailing list