1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/dsymutil
Vedant Kumar 025d4791c0 [DWARF] Emit DW_AT_call_return_pc as an address
This reverts D53469, which changed llvm's DWARF emission to emit
DW_AT_call_return_pc as a function-local offset. Such an encoding is not
compatible with post-link block re-ordering tools and isn't standards-
compliant.

In addition to reverting back to the original DW_AT_call_return_pc
encoding, teach lldb how to fix up DW_AT_call_return_pc when the address
comes from an object file pointed-to by a debug map. While doing this I
noticed that lldb's support for tail calls that cross a DSO/object file
boundary wasn't covered, so I added tests for that. This latter case
exercises the newly added return PC fixup.

The dsymutil changes in this patch were originally included in D49887:
the associated test should be sufficient to test DW_AT_call_return_pc
encoding purely on the llvm side.

Differential Revision: https://reviews.llvm.org/D72489
2020-01-15 13:02:23 -08:00
..
BinaryHolder.cpp
BinaryHolder.h
CFBundle.cpp
CFBundle.h
CMakeLists.txt [Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWARF optimizing part. #2. 2020-01-08 14:15:31 +03:00
DebugMap.cpp
DebugMap.h
dsymutil.cpp [dsymutil] Add support for linking remarks 2019-11-01 15:38:49 -07:00
dsymutil.h
DwarfLinkerForBinary.cpp [DWARF] Emit DW_AT_call_return_pc as an address 2020-01-15 13:02:23 -08:00
DwarfLinkerForBinary.h [Dsymutil][Debuginfo][NFC] #3 Refactor dsymutil to separate DWARF optimizing part. 2020-01-13 23:33:25 +03:00
DwarfStreamer.cpp [Dsymutil][Debuginfo][NFC] #3 Refactor dsymutil to separate DWARF optimizing part. 2020-01-13 23:33:25 +03:00
DwarfStreamer.h [Dsymutil][Debuginfo][NFC] #3 Refactor dsymutil to separate DWARF optimizing part. 2020-01-13 23:33:25 +03:00
LinkUtils.h [dsymutil] Add support for linking remarks 2019-11-01 15:38:49 -07:00
LLVMBuild.txt [Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWARF optimizing part. #2. 2020-01-08 14:15:31 +03:00
MachODebugMapParser.cpp
MachOUtils.cpp [Dsymutil][NFC] Move NonRelocatableStringpool into common CodeGen folder. 2019-12-06 10:02:27 +03:00
MachOUtils.h
Options.td [dsymutil] Support --out (NFC) 2019-12-03 17:08:32 -08:00
SymbolMap.cpp
SymbolMap.h