llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.57k stars 11.81k forks source link

[BOLT] [llvm-bolt] llvm-bolt aborts due to .debug_line_str offset mismatch when --update-debug-sections is used. #80266

Open ARG-NK opened 8 months ago

ARG-NK commented 8 months ago

I am optimizing a ELF64/AArch64 binary compiled with -gdwarf4 and get this assert failure while updating the debug sections:

image image

aaupov commented 8 months ago

Does it ring any bells? @ayermolo

Thrrreeee commented 2 days ago

I am optimizing a ELF64/AArch64 binary compiled with -gdwarf4 and get this assert failure while updating the debug sections:

Can you show me your compile-time command and the command to use llvm-bolt?