[all-commits] [llvm/llvm-project] b014cc: [ORC] Add a LLJITWithThinLTOSummaries example in O...
Stefan Gränitz via All-commits
all-commits at lists.llvm.org
Sun Aug 23 05:05:12 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b014cc0f655da5094302c326d6d0576fdb652e58
https://github.com/llvm/llvm-project/commit/b014cc0f655da5094302c326d6d0576fdb652e58
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2020-08-23 (Sun, 23 Aug 2020)
Changed paths:
M llvm/examples/OrcV2Examples/CMakeLists.txt
A llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/CMakeLists.txt
A llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/LLJITWithThinLTOSummaries.cpp
A llvm/test/Examples/OrcV2Examples/Inputs/bar-mod.ll
A llvm/test/Examples/OrcV2Examples/Inputs/foo-mod.ll
A llvm/test/Examples/OrcV2Examples/Inputs/main-mod.ll
A llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test
M llvm/test/Examples/lit.local.cfg
Log Message:
-----------
[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
More information about the All-commits
mailing list