aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <ashaposhnikov@google.com>2022-11-14 21:10:24 +0000
committerAlexander Shaposhnikov <ashaposhnikov@google.com>2022-11-14 21:11:07 +0000
commitef9e624694c0f125c53f7d0d3472fd486bada57d (patch)
tree31834106eaf57c5917284051b07c7dbec2a32c02 /llvm/lib/IR/CMakeLists.txt
parentfd824bdc5e507b1da2c98815e5af05bc96a995d3 (diff)
downloadllvm-ef9e624694c0f125c53f7d0d3472fd486bada57d.zip
llvm-ef9e624694c0f125c53f7d0d3472fd486bada57d.tar.gz
llvm-ef9e624694c0f125c53f7d0d3472fd486bada57d.tar.bz2
[opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm
Enable using -module-summary with -S (similarly to what currently can be achieved with opt <input> -o - | llvm-dis). Test plan: ninja check-all Differential revision: https://reviews.llvm.org/D137768
Diffstat (limited to 'llvm/lib/IR/CMakeLists.txt')
-rw-r--r--llvm/lib/IR/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/CMakeLists.txt b/llvm/lib/IR/CMakeLists.txt
index ccd1055..307f044 100644
--- a/llvm/lib/IR/CMakeLists.txt
+++ b/llvm/lib/IR/CMakeLists.txt
@@ -76,6 +76,7 @@ add_llvm_component_library(LLVMCore
intrinsics_gen
LINK_COMPONENTS
+ Analysis
BinaryFormat
Remarks
Support