[PATCH] D112656: [ORC][ORC-RT] Enable the MachO platform for arm64

Ben Langmuir via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 27 13:00:30 PDT 2021


benlangmuir created this revision.
benlangmuir added a reviewer: lhames.
Herald added subscribers: hiraditya, kristof.beyls, mgorny.
benlangmuir requested review of this revision.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.

Enables the arm64 MachO platform, adds basic tests, and implements the missing TLV relocations and runtime wrapper function. The TLV relocations are just handled as GOT accesses.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112656

Files:
  compiler-rt/lib/orc/CMakeLists.txt
  compiler-rt/lib/orc/macho_tlv.arm64.S
  compiler-rt/test/orc/TestCases/Darwin/arm64/lit.local.cfg.py
  compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-cxa-atexit.S
  compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-objc-methods.S
  compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-static-initializer.S
  compiler-rt/test/orc/TestCases/Darwin/arm64/trivial-tlv.S
  llvm/include/llvm/ExecutionEngine/JITLink/MachO_arm64.h
  llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112656.382760.patch
Type: text/x-patch
Size: 21410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211027/cb4ed181/attachment.bin>


More information about the llvm-commits mailing list