aboutsummaryrefslogtreecommitdiff
path: root/llvm/CMakeLists.txt
diff options
context:
space:
mode:
authorAmir Ayupov <aaupov@fb.com>2024-01-18 19:44:16 -0800
committerGitHub <noreply@github.com>2024-01-18 19:44:16 -0800
commit82bc33ea3f1a539be50ed46919dc53fc6b685da9 (patch)
tree9094046be79d462bc56700661b38444a5a10ccec /llvm/CMakeLists.txt
parente81c981fe35483a4b7474e110ff1b5d02bc2cb00 (diff)
downloadllvm-82bc33ea3f1a539be50ed46919dc53fc6b685da9.zip
llvm-82bc33ea3f1a539be50ed46919dc53fc6b685da9.tar.gz
llvm-82bc33ea3f1a539be50ed46919dc53fc6b685da9.tar.bz2
[BOLT] Fix unconditional output of boltedcollection in merge-fdata (#78653)
Fix the bug where merge-fdata unconditionally outputs boltedcollection line, regardless of whether input files have it set. Test Plan: Added bolt/test/X86/merge-fdata-nobat-mode.test which fails without this fix.
Diffstat (limited to 'llvm/CMakeLists.txt')
-rw-r--r--llvm/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 61ab69d..a1f7a94 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -689,6 +689,10 @@ set(LLVM_LIB_FUZZING_ENGINE "" CACHE PATH
option(LLVM_USE_SPLIT_DWARF
"Use -gsplit-dwarf when compiling llvm and --gdb-index when linking." OFF)
+# Facebook T92898286
+option(LLVM_TEST_BOLT "Enable BOLT testing in non-BOLT tests that use clang" OFF)
+# End Facebook T92898286
+
# Define an option controlling whether we should build for 32-bit on 64-bit
# platforms, where supported.
if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT (WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "AIX"))