llvm-project/compiler-rt/lib/orc
Peter S. Housel 2be5abb7e9 [ORC][ORC_RT] Handle ELF .init_array with non-default priority
ELF-based platforms currently support defining multiple static
initializer table sections with differing priorities, for example
.init_array.0 or .init_array.100; the default .init_array corresponds
to a priority of 65535. When building a shared library or executable,
the system linker normally sorts these sections and combines them into
a single .init_array section. This change adds the capability to
recognize ELF static initializers with priorities other than the
default, and to properly sort them by priority, to Orc and the Orc
runtime.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D127056
2022-06-09 22:47:58 -07:00
..
unittests Reapply "[cmake] Prefix gtest and gtest_main with "llvm_"." 2022-03-04 13:45:43 -08:00
CMakeLists.txt [ORC][ORC_RT] Integrate ORC platforms with LLJIT and lli 2022-06-09 22:47:58 -07:00
adt.h [ORC-RT] Add more string_view operations and tests. 2022-02-08 15:29:31 +11:00
c_api.h [ORC-RT] Remove a stale comment. 2022-06-07 16:42:37 -07:00
common.h [ORC-RT] Introduce a ORC_RT_JIT_DISPATCH_TAG macro. 2021-07-20 11:30:54 +10:00
compiler.h [ORC-RT] Add ORC_RT prefix to WEAK_IMPORT macro. 2021-07-20 11:30:54 +10:00
debug.cpp [ORC-RT] Add missing headers from 1d82e19f37. 2022-01-08 17:46:14 +11:00
debug.h [ORC-RT] Add debug logging macros. 2022-01-08 17:28:02 +11:00
dlfcn_wrapper.cpp [ORC][ORC_RT] Integrate ORC platforms with LLJIT and lli 2022-06-09 22:47:58 -07:00
elfnix_platform.cpp [ORC][ORC_RT] Handle ELF .init_array with non-default priority 2022-06-09 22:47:58 -07:00
elfnix_platform.h [ORC][ORC_RT] Handle ELF .init_array with non-default priority 2022-06-09 22:47:58 -07:00
elfnix_tls.x86-64.S Reapply [ORC-RT] Configure the ORC runtime for more architectures and platforms 2021-10-21 09:00:18 -07:00
endianness.h Rename compiler-rt/lib/orc/endian.h to endianness.h to avoid conflict with system headers 2021-06-08 17:53:58 -07:00
error.h [ORC-RT] Add ORC runtime error and expected types. 2021-05-19 13:31:25 -07:00
executor_address.h [ORC-RT] Make ExecutorAddr hashable. 2022-02-08 16:11:07 +11:00
extensible_rtti.cpp Re-apply "[ORC-RT] Add unit test infrastructure, extensible_rtti..." 2021-05-11 10:28:33 -07:00
extensible_rtti.h Re-apply "[ORC-RT] Add unit test infrastructure, extensible_rtti..." 2021-05-11 10:28:33 -07:00
log_error_to_stderr.cpp [ORC][ORC-RT] Introduce ORC-runtime based MachO-Platform. 2021-07-19 19:50:16 +10:00
macho_ehframe_registration.cpp [ORC][JITLink] Merge JITLink AllocActionCall and ORC WrapperFunctionCall. 2022-01-08 16:46:15 +11:00
macho_platform.cpp [ORC-RT] Fix missing #include from f9aef477eb. 2022-02-08 17:41:53 +11:00
macho_platform.h [ORC][ORC-RT] Rewrite the MachO platform to use allocation actions. 2022-02-08 17:28:13 +11:00
macho_tlv.arm64.S [ORC][ORC-RT] Enable the MachO platform for arm64 2021-10-27 13:36:03 -07:00
macho_tlv.x86-64.S Reapply [ORC-RT] Configure the ORC runtime for more architectures and platforms 2021-10-21 09:00:18 -07:00
run_program_wrapper.cpp [ORC][ORC-RT] Introduce ORC-runtime based MachO-Platform. 2021-07-19 19:50:16 +10:00
simple_packed_serialization.h [ORC-RT] Add SPS serialization for span<const char> / SPSSequence<char>. 2021-11-03 13:43:49 -07:00
stl_extras.h Add a couple of missing includes 2021-06-08 17:53:58 -07:00
wrapper_function_utils.h [ORC-RT] Update WrapperFunctionCall for 089acf2522. 2022-01-16 13:48:11 +11:00