Skip to content

Commit 144aaa7

Browse files
authored
gh-101282: Update BOLT --split-functions flag not to use deprecated u… (gh-101557)
gh-101282: Update BOLT --split-functions flag not to use deprecated usage
1 parent cef9de6 commit 144aaa7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile.pre.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ bolt-opt: @PREBOLT_RULE@
647647
@LLVM_BOLT@ ./$(BUILDPYTHON) -instrument -instrumentation-file-append-pid -instrumentation-file=$(abspath $(BUILDPYTHON).bolt) -o $(BUILDPYTHON).bolt_inst
648648
./$(BUILDPYTHON).bolt_inst $(PROFILE_TASK) || true
649649
@MERGE_FDATA@ $(BUILDPYTHON).*.fdata > $(BUILDPYTHON).fdata
650-
@LLVM_BOLT@ ./$(BUILDPYTHON) -o $(BUILDPYTHON).bolt -data=$(BUILDPYTHON).fdata -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions=3 -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=all -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot
650+
@LLVM_BOLT@ ./$(BUILDPYTHON) -o $(BUILDPYTHON).bolt -data=$(BUILDPYTHON).fdata -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=all -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot
651651
rm -f *.fdata
652652
rm -f $(BUILDPYTHON).bolt_inst
653653
mv $(BUILDPYTHON).bolt $(BUILDPYTHON)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update BOLT configration not to use depreacted usage of ``--split
2+
functions``. Patch by Dong-hee Na.

0 commit comments

Comments
 (0)