summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-02-14 14:40:10 +0000
committerPavel Labath <pavel@labath.sk>2019-02-14 14:40:10 +0000
commit66d88326abf9e4b39df1db61f0bf2dce746f2900 (patch)
tree5af4c128b2c3927b95f5480a5de1b627cfde94ef /lldb/source/Commands/CommandObjectTarget.cpp
parentc374a800e7f84f701bf2fceb39c35d0909603c1e (diff)
downloadbcm5719-llvm-66d88326abf9e4b39df1db61f0bf2dce746f2900.tar.gz
bcm5719-llvm-66d88326abf9e4b39df1db61f0bf2dce746f2900.zip
Move UnwindTable from ObjectFile to Module
Summary: This is a preparatory step to enable adding extra unwind strategies by symbol file plugins. This has been discussed on the lldb-dev mailing list: <http://lists.llvm.org/pipermail/lldb-dev/2019-February/014703.html>. Reviewers: jasonmolenda, clayborg, espindola Subscribers: lemo, emaste, lldb-commits, arichardson Differential Revision: https://reviews.llvm.org/D58129 llvm-svn: 354033
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index b2488b75889..67813a392fa 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -3533,8 +3533,7 @@ protected:
start_addr = abi->FixCodeAddress(start_addr);
FuncUnwindersSP func_unwinders_sp(
- sc.module_sp->GetObjectFile()
- ->GetUnwindTable()
+ sc.module_sp->GetUnwindTable()
.GetUncachedFuncUnwindersContainingAddress(start_addr, sc));
if (!func_unwinders_sp)
continue;
OpenPOWER on IntegriCloud