Convert from the C-based LLVM Disassembler shim to the full MC Disassembler API's.
authorJim Ingham <jingham@apple.com>
Sat, 2 Mar 2013 00:26:47 +0000 (00:26 +0000)
committerJim Ingham <jingham@apple.com>
Sat, 2 Mar 2013 00:26:47 +0000 (00:26 +0000)
commit0f063ba6b41276a18f3f60380ce16fcd58b20484
tree19e25c2ecef13047a0fe0ec382961b0d4d98d027
parentb1caf3c30e6a72b37379600872e253da4d18178e
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.

<rdar://problem/11319574>
<rdar://problem/9329275>

llvm-svn: 176392
26 files changed:
lldb/include/lldb/API/SBFunction.h
lldb/include/lldb/API/SBSymbol.h
lldb/include/lldb/API/SBTarget.h
lldb/include/lldb/Core/Disassembler.h
lldb/include/lldb/Target/Target.h
lldb/include/lldb/lldb-enumerations.h
lldb/include/lldb/lldb-private-interfaces.h
lldb/scripts/Python/interface/SBFunction.i
lldb/scripts/Python/interface/SBSymbol.i
lldb/scripts/Python/interface/SBTarget.i
lldb/source/API/SBFunction.cpp
lldb/source/API/SBSymbol.cpp
lldb/source/API/SBTarget.cpp
lldb/source/Commands/CommandObjectDisassemble.cpp
lldb/source/Commands/CommandObjectDisassemble.h
lldb/source/Core/DataExtractor.cpp
lldb/source/Core/Disassembler.cpp
lldb/source/Expression/ClangExpressionParser.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.h
lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
lldb/source/Target/StackFrame.cpp
lldb/source/Target/Target.cpp
lldb/source/Target/ThreadPlanStepRange.cpp
lldb/source/Target/ThreadPlanTracer.cpp