1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/include/llvm/DebugInfo
Greg Clayton 2bf4a40cf4 Add lookup functions for efficient lookups of addresses when using GsymReader classes.
Summary:
Lookup functions are designed to not fully decode a FunctionInfo, LineTable or InlineInfo, they decode only what is needed into a LookupResult object. This allows lookups to avoid costly memory allocations and avoid parsing large amounts of information one a suitable match is found.

LookupResult objects contain the address that was looked up, the concrete function address range, the name of the concrete function, and a list of source locations. One for each inline function, and one for the concrete function. This allows one address to turn into multiple frames and improves the signal you get when symbolicating addresses in GSYM files.

Reviewers: labath, aprantl

Subscribers: mgorny, hiraditya, llvm-commits, lldb-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70993
2019-12-05 16:49:53 -08:00
..
CodeView TypeRecord - fix uninitialized variable warnings. NFCI. 2019-11-07 16:56:17 +00:00
DWARF [llvm/DWARF] Return section offset from DWARFUnit::get{Loc,Rng}listOffset 2019-12-05 12:35:09 +01:00
GSYM Add lookup functions for efficient lookups of addresses when using GsymReader classes. 2019-12-05 16:49:53 -08:00
MSF Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PDB [pdbutil] Fixed -Wdeprecated-copy in DbiModuleDescriptor 2019-11-23 23:33:22 +01:00
Symbolize [llvm-symbolizer] Support debug file lookup using build ID 2019-12-04 15:07:56 -08:00
DIContext.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00