1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/include/llvm/DebugInfo
Pavel Labath 74f7478d2b DWARFDebugLoclists: stricter base address handling
Summary:
This removes the use of zero as a base address in section-based dumping.
Although this will often be true for (unlinked) object files with a
single compile unit, it is not true in general. This means that
section-based dumping will not be able to resolve entries referencing
the base address (DW_LLE_offset_pair) -- it wasn't able to do that
correctly before either, but now it will be more explicit about it. One
exception to that is if the location list contains an explicit
DW_LLE_base_address entry -- in this case the dumper will pick it up,
and resolve subsequent entries normally.

The patch also removes the fallback to zero in the "inline" dumping in
case the compile unit does not contain a base address.

Reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70115
2019-11-14 10:01:48 +01:00
..
CodeView TypeRecord - fix uninitialized variable warnings. NFCI. 2019-11-07 16:56:17 +00:00
DWARF DWARFDebugLoclists: stricter base address handling 2019-11-14 10:01:48 +01:00
GSYM Fix a documentation warning from GSYM commit. 2019-10-10 20:29:11 +00:00
MSF Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PDB [PDB] Make pdb::DbiModuleDescriptor destructor trivial 2019-11-11 21:26:26 -08:00
Symbolize llvm-symbolizer: Untag addresses in object files by default. 2019-08-05 20:59:25 +00:00
DIContext.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00