[PATCH] D108081: [ORC] Add Platform and runtime support for ELF-based platforms

Peter S. Housel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 14 15:30:43 PDT 2021


housel created this revision.
housel added a reviewer: lhames.
housel added a project: LLVM.
Herald added subscribers: pengfei, ormris, jfb, hiraditya, krytarowski, arichardson, mgorny, emaste.
housel requested review of this revision.
Herald added a project: Sanitizers.
Herald added subscribers: llvm-commits, Sanitizers.

This change adds support to ORCv2 and the Orc runtime library for static initializers, C++ static destructors, and exception handler registration for ELF-based platforms, at present Linux and FreeBSD on x86_64. Support for thread-local storage is still incomplete.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108081

Files:
  compiler-rt/lib/orc/CMakeLists.txt
  compiler-rt/lib/orc/elfnix_platform.cpp
  compiler-rt/lib/orc/elfnix_platform.h
  compiler-rt/test/orc/TestCases/FreeBSD/lit.local.cfg.py
  compiler-rt/test/orc/TestCases/FreeBSD/x86-64/lit.local.cfg.py
  compiler-rt/test/orc/TestCases/FreeBSD/x86-64/trivial-cxa-atexit.S
  compiler-rt/test/orc/TestCases/FreeBSD/x86-64/trivial-static-initializer.S
  compiler-rt/test/orc/TestCases/Linux/lit.local.cfg.py
  compiler-rt/test/orc/TestCases/Linux/x86-64/lit.local.cfg.py
  compiler-rt/test/orc/TestCases/Linux/x86-64/trivial-cxa-atexit.S
  compiler-rt/test/orc/TestCases/Linux/x86-64/trivial-static-initializer.S
  compiler-rt/test/orc/lit.cfg.py
  llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
  llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
  llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
  llvm/lib/ExecutionEngine/Orc/Mangling.cpp
  llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  llvm/tools/llvm-jitlink/llvm-jitlink.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108081.366466.patch
Type: text/x-patch
Size: 74469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210814/698b7a10/attachment.bin>


More information about the llvm-commits mailing list