mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[BOLT][docs] Add note regarding DWARF v5 support to README.md
Reviewed By: Amir, yota9 Differential Revision: https://reviews.llvm.org/D118284
This commit is contained in:
parent
50f50f2582
commit
d97fcf3df2
@ -30,6 +30,14 @@ compiler option. Since GCC8 enables this option by default, you have to
|
||||
explicitly disable it by adding `-fno-reorder-blocks-and-partition` flag if
|
||||
you are compiling with GCC8 or above.
|
||||
|
||||
NOTE2: DWARF v5 is the new debugging format generated by the latest LLVM and GCC
|
||||
compilers. It offers several benefits over the previous DWARF v4. Currently, the
|
||||
support for v5 is a work in progress for BOLT. While you will be able to
|
||||
optimize binaries produced by the latest compilers, until the support is
|
||||
complete, you will not be able to update the debug info with
|
||||
`-update-debug-sections`. To temporarily work around the issue, we recommend
|
||||
compiling binaries with `-gdwarf-4` option that forces DWARF v4 output.
|
||||
|
||||
PIE and .so support has been added recently. Please report bugs if you
|
||||
encounter any issues.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user