aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-ml/Disassembler.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2020-01-17 14:58:46 +0100
committerPavel Labath <pavel@labath.sk>2020-01-20 12:39:59 +0100
commitb7af1bfa6e31a2a896e8a94a7f086914719e7d5d (patch)
tree89b178f3551a6a3847d48963f360a20f1d4b04fb /llvm/tools/llvm-ml/Disassembler.cpp
parent8248190a730cd62850afe9bef731ce6726778b4b (diff)
downloadllvm-b7af1bfa6e31a2a896e8a94a7f086914719e7d5d.zip
llvm-b7af1bfa6e31a2a896e8a94a7f086914719e7d5d.tar.gz
llvm-b7af1bfa6e31a2a896e8a94a7f086914719e7d5d.tar.bz2
[lldb/DWARF] Simplify DWARFDebugInfoEntry::LookupAddress
Summary: This method was doing a lot more than it's only caller needed (DWARFDIE::LookupDeepestBlock) needed, so I inline it into the caller, and remove any code which is not actually used. This includes code for searching for the deepest function, and the code for working around incomplete DW_AT_low_pc/high_pc attributes on a compile unit DIE (modern compiler get this right, and this method is called on function DIEs anyway). This also improves our llvm consistency, as llvm::DWARFDebugInfoEntry is just a very simple struct with no nontrivial logic. Reviewers: JDevlieghere, aprantl Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D72920
Diffstat (limited to 'llvm/tools/llvm-ml/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions