[all-commits] [llvm/llvm-project] fe8476: [DWARF] Dump an updated location for DW_CFA_advanc...
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Thu Mar 7 16:34:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe8476472467acd15a4d3771313e5532d1eb032f
https://github.com/llvm/llvm-project/commit/fe8476472467acd15a4d3771313e5532d1eb032f
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
M llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
M llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test
M llvm/test/tools/llvm-readobj/ELF/unwind.test
M llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
Log Message:
-----------
[DWARF] Dump an updated location for DW_CFA_advance_loc* (#84274)
When dumping FDEs, `readelf` prints new location values after
`DW_CFA_advance_loc(*)` instructions, which looks quite convenient:
```
> readelf -wf test.o
...
... FDE ... pc=0000000000000030..0000000000000064
DW_CFA_advance_loc: 4 to 0000000000000034
...
DW_CFA_advance_loc: 4 to 0000000000000038
...
```
This patch makes `llvm-dwarfdump` and `llvm-readobj` do the same.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list