aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorAlexander Yermolovich <ayermolo@meta.com>2022-09-15 13:40:54 -0700
committerAlexander Yermolovich <ayermolo@meta.com>2023-07-06 14:21:26 -0700
commit2701a661daa393ad5901ac88d420d7aa931eda0d (patch)
tree6e9dfb0070fc2d7a7f9be25e9c7f015db40c1eb5 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parent460a2244430fae192298a5fd9fa2a269e540e8c1 (diff)
downloadllvm-2701a661daa393ad5901ac88d420d7aa931eda0d.zip
llvm-2701a661daa393ad5901ac88d420d7aa931eda0d.tar.gz
llvm-2701a661daa393ad5901ac88d420d7aa931eda0d.tar.bz2
[BOLT][DWARF] Numerous fixes for a new DWARFRewriter
Summary: * Some cleanup and minor fixes for the new debug information re-writer before moving on to productatization. * The new rewriter wasn't handling binary with DWARF5 and DWARF4 with -fdebug-types-sections. * Removed dead cross cu reference code. * Added support for DW_AT_sibling. * With the new re-writer abbrev number can change which can lead to offset of Type Units changing. Before we would just copy raw data. Changed to write out Type Unit List. This is generated by gdb-add-index. * Fixed how bolt handles gdb-index generated by gdb-11 with types sections. Simplified logic that handles variations of gdb-index. * Clang can generate two type units with the same hash, but different content. LLD does not de-duplicate when ThinLTO is involved. Changed so that TU hash and offset are used to make TU's unique. * It is possible to have references within location expression to another DIE. Fixed it so that relative offset is updated correctly. * Removed all the code related to patching. * Removed dead code. Changed how we handling writting out TUs and TU Index. It now should fully work for DWARF4 and DWARF5. * Removed unused arguments from some APIs, changed return type to void, and other small cleanups. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D46168257
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions