gh-128456: Use '-reorder-functions=cdsort' for BOLT builds (#128457)

'hfsort+' is deprecated in favor of 'cdsort'.
This commit is contained in:
Zanie Blue 2025-01-03 14:49:50 -06:00 committed by GitHub
parent befcfdfdab
commit 4974bbdb29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

2
configure generated vendored
View file

@ -9403,7 +9403,7 @@ printf "%s\n" "$BOLT_INSTRUMENT_FLAGS" >&6; }
printf %s "checking BOLT_APPLY_FLAGS... " >&6; }
if test -z "${BOLT_APPLY_FLAGS}"
then
BOLT_APPLY_FLAGS=" -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot "
BOLT_APPLY_FLAGS=" -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=cdsort -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot "
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BOLT_APPLY_FLAGS" >&5

View file

@ -2183,7 +2183,7 @@ then
[m4_normalize("
-update-debug-sections
-reorder-blocks=ext-tsp
-reorder-functions=hfsort+
-reorder-functions=cdsort
-split-functions
-icf=1
-inline-all