llvm-project/llvm/examples
Stefan Gränitz b014cc0f65 [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
..
BrainF [examples] Fix llvm.memset prototype in BrainF example. 2020-05-10 17:20:56 -04:00
Bye [examples] Skip building the Bye pass plugin on windows 2020-05-13 13:40:56 +03:00
ExceptionDemo [examples] fix ExceptionDemo 2020-07-11 12:38:27 -07:00
Fibonacci [opaque pointer types] Add a FunctionCallee wrapper type, and use it. 2019-02-01 02:28:03 +00:00
HowToUseJIT [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
HowToUseLLJIT Fix implicit dependency on CommandLine.h 2020-07-23 12:33:14 +01:00
IRTransforms [llvm][examples][SimplifyCFG] Fix pass's IR changed reporting 2020-07-27 13:39:58 -06:00
Kaleidoscope Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming (NFC) 2020-03-12 00:12:03 +00:00
ModuleMaker
OCaml-Kaleidoscope
OrcV2Examples [ORC] Add a LLJITWithThinLTOSummaries example in OrcV2Examples 2020-08-23 14:02:10 +02:00
ParallelJIT [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
SpeculativeJIT [examples] Fix the SpeculativeJIT and ThinLtoJIT examples for 41379f1ec4. 2020-05-10 17:34:31 -07:00
ThinLtoJIT StoreInst should store Align, not MaybeAlign 2020-05-15 12:26:58 -07:00
CMakeLists.txt [Orc] Add basic OrcV2 C bindings and example. 2020-03-14 14:41:22 -07:00
LLVMBuild.txt