Re-re-apply "[ORC][ORC-RT] Add initial native-TLV support to MachOPlatform."
authorLang Hames <lhames@gmail.com>
Wed, 21 Jul 2021 07:38:35 +0000 (17:38 +1000)
committerLang Hames <lhames@gmail.com>
Wed, 21 Jul 2021 23:46:52 +0000 (09:46 +1000)
commit6b2a96285b9bbe92d2c5e21830f21458f8be976d
treefa0af2fbc041781727798684bb53e66550ff3daf
parent8af333cf1a77f72ed3ccf14afa96a4f8f12e40c4
Re-re-apply "[ORC][ORC-RT] Add initial native-TLV support to MachOPlatform."

This reapplies commit a7733e9556b5a6334c910f88bcd037e84e17e3fc ("Re-apply
[ORC][ORC-RT] Add initial native-TLV support to MachOPlatform."), and
d4abdefc998a1ee19d5edc79ec233774cbf64f6a ("[ORC-RT] Rename macho_tlv.x86-64.s
to macho_tlv.x86-64.S (uppercase suffix)").

These patches were reverted in 48aa82cacbff10e1c5395a03f86488bf449ba4da while I
investigated bot failures (e.g.
https://lab.llvm.org/buildbot/#/builders/109/builds/18981). The fix was to
disable building of the ORC runtime on buliders using ccache (which is the same
fix used for other compiler-rt projects containing assembly code). This fix was
commited to llvm-zorg in 490633945677656ba75d42ff1ca9d4a400b7b243.
compiler-rt/lib/orc/CMakeLists.txt
compiler-rt/lib/orc/macho_platform.cpp
compiler-rt/lib/orc/macho_platform.h
compiler-rt/lib/orc/macho_tlv.x86-64.S [new file with mode: 0644]
compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-tlv.S [new file with mode: 0644]
llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp