[llvm] [BOLT] Add support for safe-icf (PR #116275)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 00:12:55 PST 2024


================
@@ -2,7 +2,7 @@
 # RUN: ld.lld %t.o -o %t.so --shared --entry=func1.cold.1 --emit-relocs
 # RUN: llvm-bolt -relocs %t.so -o %t -reorder-functions=hfsort+ \
 # RUN:    -split-functions -reorder-blocks=ext-tsp -split-all-cold \
-# RUN:    -dyno-stats -icf=1 -use-gnu-stack
----------------
aaupov wrote:

To avoid breaking existing users, I’d suggest adding `1` as alias of unsafe/`all`, with a deprecation warning.

https://github.com/llvm/llvm-project/pull/116275


More information about the llvm-commits mailing list