Closed CcWeapon closed 2 years ago
@maksfb Please help me
If I correctly understood your problem you should probably update to the latest LLVM-BOLT version: https://github.com/llvm/llvm-project/commit/6b22c370c82398273d690383f46830dd886e446b
If I correctly understood your problem you should probably update to the latest LLVM-BOLT version: llvm/llvm-project@6b22c37
A perfect answer, thank you.
When I wanted to use -update-debug-sections to keep the debug info, I encountered an error.
After the following temporary modification, the program can run properly. However, I think that it is unreasonable to modify llvm. You need to modify it.
As shown in the preceding figure, R_AARCH64_NONE in the section such as .rela.debug_loc is not processed in the current context. How do I process them?
The following figure shows the relocation information read from the elf file.