summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-11-14 11:22:00 +0100
committerPavel Labath <pavel@labath.sk>2019-11-18 10:50:22 +0100
commitc0f6ad7d1f3ccb9d0b9ce9ef8dfa06409ccf1b3e (patch)
tree2a45525e6e8a9a9a7961dece3db6efd679dbd73f /lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py
parent816ff985f51ea984139c0b141d402e0143bd9f2d (diff)
downloadbcm5719-llvm-c0f6ad7d1f3ccb9d0b9ce9ef8dfa06409ccf1b3e.tar.gz
bcm5719-llvm-c0f6ad7d1f3ccb9d0b9ce9ef8dfa06409ccf1b3e.zip
DWARF location lists: Add section index dumping
Summary: As discussed in D70081, this adds the ability to dump section names/indices to the location list dumper. It does this by moving the range specific logic from DWARFDie.cpp:dumpRanges into the DWARFAddressRange class. The trickiest part of this patch is the backflip in the meanings of the two dump flags for the location list sections. The dumping of "raw" location list data is now controlled by "DisplayRawContents" flag. This frees up the "Verbose" flag to be used to control whether we print the section index. Additionally, the DisplayRawContents flag is set for section-based dumps whenever the --verbose option is passed, but this is not done for the "inline" dumps. Also note that the index dumping currently does not work for the DWARF v5 location lists, as the parser does not fill out the appropriate fields. This will be done in a separate patch. Reviewers: dblaikie, probinson, JDevlieghere, SouraVX Subscribers: sdardis, hiraditya, jrtc27, atanasyan, arphaman, aprantl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70227
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud