From 0f063ba6b41276a18f3f60380ce16fcd58b20484 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Sat, 2 Mar 2013 00:26:47 +0000 Subject: Convert from the C-based LLVM Disassembler shim to the full MC Disassembler API's. Calculate "can branch" using the MC API's rather than our hand-rolled regex'es. As extra credit, allow setting the disassembly flavor for x86 based architectures to intel or att. llvm-svn: 176392 --- .../Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp') diff --git a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp index 004d6b5fe7e..8f9217231f4 100644 --- a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp +++ b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp @@ -54,6 +54,7 @@ UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly (AddressRange& ExecutionContext exe_ctx; thread.CalculateExecutionContext(exe_ctx); DisassemblerSP disasm_sp (Disassembler::DisassembleRange (m_arch, + NULL, NULL, exe_ctx, range)); -- cgit v1.2.3