1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/examples/OrcV2Examples
Stefan Gränitz 45e94e8a0b [ORC] Add a LLJITWithThinLTOSummaries example in OrcV2Examples
The example demonstrates how to use a module summary index file produced for ThinLTO to:
* find the module that defines the main entry point
* find all extra modules that are required for the build

A LIT test runs the example as part of the LLVM test suite [1] and shows how to create a module summary index file.
The code also provides two Error types that can be useful when working with ThinLTO summaries.

[1] if LLVM_BUILD_EXAMPLES=ON and platform is not Windows

Differential Revision: https://reviews.llvm.org/D85974
2020-08-23 14:02:10 +02:00
..
LLJITDumpObjects
LLJITWithChildProcess [examples][cmake] build fix for examples with BUILD_SHARED_LIBS=on 2020-08-14 11:39:04 -07:00
LLJITWithCustomObjectLinkingLayer
LLJITWithGDBRegistrationListener [examples] Call setProcessAllSections to ensure debug sections aren't droppped. 2020-05-01 11:06:41 -07:00
LLJITWithInitializers [ORC] Add example showing how to initialize/deinitialize a JITDylib with LLJIT. 2020-04-18 14:16:54 -07:00
LLJITWithLazyReexports [examples] Fix an incomplete comment. 2020-05-01 11:06:41 -07:00
LLJITWithObjectCache
LLJITWithObjectLinkingLayerPlugin
LLJITWithTargetProcessControl [ORC] Enable use of TargetProcessControl::getMemMgr with ObjectLinkingLayer. 2020-07-23 16:18:57 -07:00
LLJITWithThinLTOSummaries [ORC] Add a LLJITWithThinLTOSummaries example in OrcV2Examples 2020-08-23 14:02:10 +02:00
OrcV2CBindingsAddObjectFile [ORC] Require JITDylib to be specified when adding IR and objects in the C API. 2020-04-09 17:59:26 -07:00
OrcV2CBindingsBasicUsage [ORC] Require JITDylib to be specified when adding IR and objects in the C API. 2020-04-09 17:59:26 -07:00
OrcV2CBindingsReflectProcessSymbols [docs/examples] As part of using inclusive language within the llvm 2020-06-20 00:51:18 -07:00
CMakeLists.txt [ORC] Add a LLJITWithThinLTOSummaries example in OrcV2Examples 2020-08-23 14:02:10 +02:00
ExampleModules.h Fix implicit dependency on CommandLine.h 2020-07-23 12:15:17 +01:00