[all-commits] [llvm/llvm-project] e25644: [ORC-RT][ORC] Introduce ELF/*nix Platform and runt...

lhames via All-commits all-commits at lists.llvm.org
Tue Aug 17 22:01:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e256445bfff12013c3c4ad97da4aa69d25b175b5
      https://github.com/llvm/llvm-project/commit/e256445bfff12013c3c4ad97da4aa69d25b175b5
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

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

  Log Message:
  -----------
  [ORC-RT][ORC] Introduce ELF/*nix Platform and runtime support.

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. It is based on the
MachO platform and runtime support introduced in bb5f97e3ad1.

Patch by Peter Housel. Thanks very much Peter!

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D108081




More information about the All-commits mailing list