1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/include/llvm
Pavel Labath 97e9d6eacf [DWARF] Add an api to get "interpreted" location lists
Summary:
This patch adds DWARFDie::getLocations, which returns the location
expressions for a given attribute (typically DW_AT_location). It handles
both "inline" locations and references to the external location list
sections (currently only of the DW_FORM_sec_offset type). It is
implemented on top of DWARFUnit::findLoclistFromOffset, which is also
added in this patch. I tried to make their signatures similar to the
equivalent range list functionality.

The actual location list interpretation logic is in
DWARFLocationTable::visitAbsoluteLocationList. This part is not
equivalent to the range list code, but this deviation is motivated by a
desire to reuse the same location list parsing code within lldb.

The functionality is tested via a c++ unit test of the DWARFDie API.

Reviewers: dblaikie, JDevlieghere, SouraVX

Subscribers: mgorny, hiraditya, cmtice, probinson, llvm-commits, aprantl

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70394
2019-11-20 13:25:18 +01:00
..
ADT [ADT][Expensive checks] Create a std::random_device seed only once when shuffling before sorting 2019-11-19 11:07:58 -08:00
Analysis [NFC] Factor out utilities for manipulating widenable branches 2019-11-19 14:43:13 -08:00
AsmParser
BinaryFormat [XCOFF][AIX] Differentiate usage of label symbol and csect symbol 2019-11-08 09:30:10 -05:00
Bitcode [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
Bitstream Remarks - fix static analyzer warnings. NFCI. 2019-11-09 13:01:05 +00:00
CodeGen [FEnv] File with properties of constrained intrinsics 2019-11-20 13:30:07 +07:00
Config
DebugInfo [DWARF] Add an api to get "interpreted" location lists 2019-11-20 13:25:18 +01:00
Demangle PODSmallVector - fix MSVC uninitialized variable warnings. NFCI. 2019-11-10 11:18:15 +00:00
ExecutionEngine [ORC] Add a utility to support dumping JIT'd objects to disk for debugging. 2019-11-14 21:27:19 -08:00
FuzzMutate
IR [DebugInfo] Remove the DIFlagArgumentNotModified debug info flag 2019-11-20 13:18:40 +01:00
IRReader
LineEditor
Linker
LTO [LTO][Legacy] Add API for passing LLVM options separately 2019-11-19 16:30:37 -08:00
MC [macho] Allow CPUSubtype to be adjusted before writing it to a file 2019-11-18 12:57:39 -08:00
MCA [MCA][LSUnit] Track loads and stores until retirement. 2019-10-08 10:46:01 +00:00
Object Add operator<< for object::SectionedAddress 2019-11-19 10:34:30 +01:00
ObjectYAML [yaml2obj/obj2yaml] - Add support for SHT_LLVM_LINKER_OPTIONS sections. 2019-11-12 09:55:20 +03:00
Option
Passes
ProfileData SampleProfWriter - fix uninitialized variable warnings. NFCI. 2019-11-07 14:18:44 +00:00
Remarks Remarks - fix static analyzer warnings. NFCI. 2019-11-09 13:01:05 +00:00
Support [AMDGPU] add support for hostcall buffer pointer as hidden kernel argument 2019-11-20 15:53:55 +05:30
TableGen Add Record::getValueAsOptionalDef(). 2019-10-25 16:39:21 -07:00
Target Temporarily Revert "Add support for options -frounding-math, ftrapping-math, -ffp-model=, and -ffp-exception-behavior=" 2019-11-18 10:46:48 -08:00
Testing/Support
TextAPI Reland "[TextAPI] Introduce TBDv4" 2019-10-10 04:24:44 +00:00
ToolDrivers
Transforms [NFC] Factor out utilities for manipulating widenable branches 2019-11-19 14:43:13 -08:00
WindowsManifest
WindowsResource
XRay FDRRecords - fix uninitialized variable warnings. NFCI. 2019-11-07 18:42:02 +00:00
CMakeLists.txt
InitializePasses.h [SVFS] Inject TLI Mappings in VFABI attribute. 2019-11-15 18:42:56 +00:00
LinkAllIR.h
LinkAllPasses.h [SVFS] Inject TLI Mappings in VFABI attribute. 2019-11-15 18:42:56 +00:00
module.extern.modulemap
module.install.modulemap
module.modulemap
module.modulemap.build
Pass.h Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h