aboutsummaryrefslogtreecommitdiffstats
path: root/source/Core/DumpDataExtractor.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-07-13 19:26:17 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-07-13 19:26:17 +0000
commite75e363cb71a7339552b9d943e78ac62b737379b (patch)
tree29ec5bd173694acbbcbb8207114ef7ca189436ba /source/Core/DumpDataExtractor.cpp
parent1b306c26ade71504511d2fa75b03dfaee77f9620 (diff)
downloadsrc-e75e363cb71a7339552b9d943e78ac62b737379b.tar.gz
src-e75e363cb71a7339552b9d943e78ac62b737379b.zip
Vendor import of lldb trunk r307894:vendor/lldb/lldb-trunk-r307894
Notes
Notes: svn path=/vendor/lldb/dist/; revision=320967 svn path=/vendor/lldb/lldb-trunk-r307894/; revision=320968; tag=vendor/lldb/lldb-trunk-r307894
Diffstat (limited to 'source/Core/DumpDataExtractor.cpp')
-rw-r--r--source/Core/DumpDataExtractor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Core/DumpDataExtractor.cpp b/source/Core/DumpDataExtractor.cpp
index 2b7abd60f8bc..c2a9115c3068 100644
--- a/source/Core/DumpDataExtractor.cpp
+++ b/source/Core/DumpDataExtractor.cpp
@@ -154,7 +154,8 @@ lldb::offset_t lldb_private::DumpDataExtractor(
target_sp = exe_scope->CalculateTarget();
if (target_sp) {
DisassemblerSP disassembler_sp(Disassembler::FindPlugin(
- target_sp->GetArchitecture(), nullptr, nullptr));
+ target_sp->GetArchitecture(),
+ target_sp->GetDisassemblyFlavor(), nullptr));
if (disassembler_sp) {
lldb::addr_t addr = base_addr + start_offset;
lldb_private::Address so_addr;