llvm-project/llvm/examples/OrcV2Examples
Lang Hames e7673d982d [ORC] Force linking of eh-frame registration functions from LLJIT.cpp.
Since aedeb8d557, which switched to EPC-based eh-frame registrationin LLJIT,
the eh-frame registration functions need to be forcibly linked into the target
process.

Failure to link the eh-frame registration functions triggered a test failure in
https://green.lab.llvm.org/green/job/clang-stage1-RA/31497, which was fixed by
forcibly linking the registration functions into that test case in saf2b2214b4
(rdar://101083784), however it has also caused some tests (e.g. the C API unit
tests) that depend on successful construction of an LLJIT instance to be
skipped.

Moving the forcible registration into LLJIT.cpp fixes the general issue.
2022-10-23 13:55:55 -07:00
..
LLJITDumpObjects [ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup. 2022-05-05 13:56:00 -07:00
LLJITRemovableCode [ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup. 2022-05-05 13:56:00 -07:00
LLJITWithCustomObjectLinkingLayer [ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup. 2022-05-05 13:56:00 -07:00
LLJITWithExecutorProcessControl [ORC][examples] Add missing EPCIndirectionUtils::cleanup call. 2022-05-20 19:33:39 -07:00
LLJITWithGDBRegistrationListener Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 00:31:44 -07:00
LLJITWithInitializers
LLJITWithLazyReexports [ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup. 2022-05-05 13:56:00 -07:00
LLJITWithObjectCache [ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup. 2022-05-05 13:56:00 -07:00
LLJITWithObjectLinkingLayerPlugin [examples] Fix deprecated use of llvm::empty. 2022-10-09 22:00:43 -07:00
LLJITWithOptimizingIRTransform [ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup. 2022-05-05 13:56:00 -07:00
LLJITWithRemoteDebugging Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
LLJITWithThinLTOSummaries [ORC] Force linking of eh-frame registration functions from LLJIT.cpp. 2022-10-23 13:55:55 -07:00
OrcV2CBindingsAddObjectFile
OrcV2CBindingsBasicUsage Fix some -Wstrict-prototypes issues in ORC examples 2022-05-18 19:42:33 +00:00
OrcV2CBindingsDumpObjects Add missing (void) for function declarations in C 2022-06-28 00:45:17 +00:00
OrcV2CBindingsIRTransforms [examples][ORC] Add missing call to LLVMDisposeBuilder to example. 2022-08-05 13:52:03 -07:00
OrcV2CBindingsLazy [ORC][examples] Fix off-by-one error when handling null terminators. 2022-05-20 19:33:49 -07:00
OrcV2CBindingsReflectProcessSymbols Fix some -Wstrict-prototypes issues in ORC examples 2022-05-18 19:42:33 +00:00
OrcV2CBindingsRemovableCode Fix some -Wstrict-prototypes issues in ORC examples 2022-05-18 19:42:33 +00:00
OrcV2CBindingsVeryLazy
CMakeLists.txt [examples][ORC] Add a new example showing the ORCv2 removable code APIs. 2022-04-12 15:05:07 -07:00
ExampleModules.h