Open
Description
BOLT version: af15027 crashes on MySQL binary:
llvm-bolt mysqld -o mysqld-bolt -instrument --print-disasm -v 1 > mysqld.disasm
...
BOLT-WARNING: failed to post-process indirect branches for _ZL13get_next_timePK9Time_zonePllli13interval_type/1(*2)
BOLT-WARNING: failed to post-process indirect branches for _ZN24Field_iterator_table_ref13end_of_fieldsEv/1(*2)
BOLT-WARNING: failed to post-process indirect branches for _ZN16Event_parse_data13init_intervalEP3THD
llvm-bolt: llvm-project/bolt/lib/Core/BinaryFunction.cpp:2652: void llvm::bolt::BinaryFunction::annotateCFIState(): Assertion `!StateStack.empty() && "corrupt CFI stack"' failed.
Presumably that was caused by incorrect remember-restore CFI sequences in the binary.