[llvm] 3615182 - [NFC] Add CFGuard to opt build
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 1 10:32:43 PST 2022
Author: Chris Bieneman
Date: 2022-02-01T12:32:27-06:00
New Revision: 361518202532d1b43dacf41c8a0385cc32875bb4
URL: https://github.com/llvm/llvm-project/commit/361518202532d1b43dacf41c8a0385cc32875bb4
DIFF: https://github.com/llvm/llvm-project/commit/361518202532d1b43dacf41c8a0385cc32875bb4.diff
LOG: [NFC] Add CFGuard to opt build
If you don't include a target that directly references CFGuard it
doesn't get built into opt or the llvm library build, which causes some
test cases to fail.
Including this in opt explicitly resolve those issues.
Added:
Modified:
llvm/tools/opt/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/tools/opt/CMakeLists.txt b/llvm/tools/opt/CMakeLists.txt
index 19c85768fec44..1396e4dc988de 100644
--- a/llvm/tools/opt/CMakeLists.txt
+++ b/llvm/tools/opt/CMakeLists.txt
@@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS
Analysis
AsmParser
BitWriter
+ CFGuard
CodeGen
Core
Coroutines
More information about the llvm-commits
mailing list