From d61b2590f8e360695a5298311855c8649337969f Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Mon, 23 Sep 2024 08:14:59 -0700 Subject: [PATCH] [Clang-BOLT] Drop CDSplit flag Breaks AArch64 Clang-BOLT builds: https://github.com/llvm/llvm-project/pull/109351#issuecomment-2368584365 --- clang/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index 94ce5968beb75e..27e8095534a65c 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -917,7 +917,7 @@ if (CLANG_BOLT AND NOT LLVM_BUILD_INSTRUMENTED) -data ${BOLT_FDATA} -reorder-blocks=ext-tsp -reorder-functions=cdsort -split-functions -split-all-cold -split-eh -dyno-stats -use-gnu-stack - -split-strategy=cdsplit -update-debug-sections + -update-debug-sections ${BOLT_NO_LBR} COMMENT "Optimizing Clang with BOLT" USES_TERMINAL