Skip to content

llvm-bolt –reg-reassin core dump when the input binary(mysqld) is PGO optimized #59730

Closed
@llongint

Description

@llongint

It's been described here before.

test.s.txt
test.fdata.txt

Run the following command to reproduce the problem:

mv test.s.txt test.s
gcc -O0 test.s -Wl,-q -o a.out
./a.out
llvm-bolt ./a.out -o ./a.opt -data=./test.fdata.txt --reg-reassign --print-regreassign -debug-only=regreassign
./a.opt

./a.opt will fall into an infinite loop.
image

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions