llvm-project/llvm/test/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
..
IRTransforms/SimplifyCFG Re-apply "[Examples] Add IRTransformations directory to examples." 2020-01-04 15:47:23 +00:00
Kaleidoscope Fix incorrect "REQUIRE" (default_target->default_triple) introduced in 59f45a1cdb 2020-06-23 18:22:39 +00:00
OrcV2Examples [ORC] Add a LLJITWithThinLTOSummaries example in OrcV2Examples 2020-08-23 14:02:10 +02:00
lit.local.cfg [ORC] Add a LLJITWithThinLTOSummaries example in OrcV2Examples 2020-08-23 14:02:10 +02:00