[clang] d61b259 - [Clang-BOLT] Drop CDSplit flag

Amir Ayupov via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 23 08:15:59 PDT 2024


Author: Amir Ayupov
Date: 2024-09-23T08:15:05-07:00
New Revision: d61b2590f8e360695a5298311855c8649337969f

URL: https://github.com/llvm/llvm-project/commit/d61b2590f8e360695a5298311855c8649337969f
DIFF: https://github.com/llvm/llvm-project/commit/d61b2590f8e360695a5298311855c8649337969f.diff

LOG: [Clang-BOLT] Drop CDSplit flag

Breaks AArch64 Clang-BOLT builds:
https://github.com/llvm/llvm-project/pull/109351#issuecomment-2368584365

Added: 
    

Modified: 
    clang/CMakeLists.txt

Removed: 
    


################################################################################
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


        


More information about the cfe-commits mailing list