Issue |
133501
|
Summary |
[AArch64][BOLT] llvm-bolt annotateCFIState Assertion `!StateStack.empty() && "corrupt CFI stack"' failed.
|
Labels |
BOLT
|
Assignees |
|
Reporter |
ilinpv
|
BOLT version: af150272cff97c121ed4fdb76fce702fbe2f12a3 crashes on [MySQL binary](https://github.com/ilinpv/bolt-tests/raw/0403b9cfe9e9c150fb523122f9962daa1b2150f2/test/AArch64/Inputs/mysqld.zst):
`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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs