[all-commits] [llvm/llvm-project] 70aad4: [lldb][NFCI] Use llvm's libDebugInfo for DebugRanges
Felipe de Azevedo Piovezan via All-commits
all-commits at lists.llvm.org
Tue May 23 08:11:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 70aad4ec90f2df69b91a356b91c3dd16e15be3d1
https://github.com/llvm/llvm-project/commit/70aad4ec90f2df69b91a356b91c3dd16e15be3d1
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2023-05-23 (Tue, 23 May 2023)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h
Log Message:
-----------
[lldb][NFCI] Use llvm's libDebugInfo for DebugRanges
In an effort to unify the different dwarf parsers available in the codebase,
this commit removes LLDB's custom parsing for the `.debug_ranges` DWARF section,
instead calling into LLVM's parser.
Subsequent work should look into unifying `llvm::DWARDebugRangeList` (whose
entries are pairs of (start, end) addresses) with `lldb::DWARFRangeList` (whose
entries are pairs of (start, length)). The lists themselves are also different
data structures, but functionally equivalent.
Depends on D150363
Differential Revision: https://reviews.llvm.org/D150366
More information about the All-commits
mailing list