[all-commits] [llvm/llvm-project] 3d7177: [lldb/DWARF] Remove one more auto-dwo method
Pavel Labath via All-commits
all-commits at lists.llvm.org
Wed Jan 22 04:06:50 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3d7177acd751704d42278ea78e5353943187045d
https://github.com/llvm/llvm-project/commit/3d7177acd751704d42278ea78e5353943187045d
Author: Pavel Labath <pavel at labath.sk>
Date: 2020-01-22 (Wed, 22 Jan 2020)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
Log Message:
-----------
[lldb/DWARF] Remove one more auto-dwo method
Summary:
Our DWARFUnit was automatically forwarding the requests to the split
unit when looking for a DIE by offset. llvm::DWARFUnit does not do that,
and is not likely to start doing it any time soon.
This patch deletes the this logic and updates the callers to request the
correct unit instead. While doing that, I've found a bit of duplicated
code for lookup up a function and block by address, so I've extracted
that into a helper function.
Reviewers: JDevlieghere, aprantl, clayborg, jdoerfert
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D73112
More information about the All-commits
mailing list