diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-12-04 10:01:39 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-12-04 10:01:39 +0000 |
commit | 7e981f330b2f204b3ec4b3b7af90ea3f950af822 (patch) | |
tree | 068824a3a661ee2a61b53cfa03c57ee25a2db734 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | 0fa7bf099dc5572c757639ea8667310927daa374 (diff) | |
download | bcm5719-llvm-7e981f330b2f204b3ec4b3b7af90ea3f950af822.tar.gz bcm5719-llvm-7e981f330b2f204b3ec4b3b7af90ea3f950af822.zip |
[llvm-dwarfdump] - Dump the older versions of .eh_frame/.debug_frame correctly.
The issue is the following.
DWARF 2 used version 1 for .debug_frame.
(Appendix G, p. 416 http://dwarfstd.org/doc/DWARF5.pdf)
lib/MC now always sets version 1 for .eh_frame (and sets 1-4 versions for .debug_frame correctly):
https://github.com/llvm-mirror/llvm/blob/master/lib/MC/MCDwarf.cpp#L1530
https://github.com/llvm-mirror/llvm/blob/master/lib/MC/MCDwarf.cpp#L1562
https://github.com/llvm-mirror/llvm/blob/master/lib/MC/MCDwarf.cpp#L1602
In version 1, return_address_register was defined as ubyte, while other versions
switched to uleb128.
(p 62, http://www.dwarfstd.org/doc/dwarf-2.0.0.pdf)
Patch teaches llvm-dwarfdump about this difference.
Differential revision: https://reviews.llvm.org/D54860
llvm-svn: 348242
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions