diff options
author | Greg Clayton <gclayton@apple.com> | 2012-03-22 00:49:15 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-03-22 00:49:15 +0000 |
commit | f8712de58cb966291018a55717ea500924879b23 (patch) | |
tree | 659c8f0e7dd90133a7a6dce08e7ca455d85024a1 /lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp | |
parent | 6a63a741131fbcf3e41d492bfed08fd56c8b4096 (diff) | |
download | bcm5719-llvm-f8712de58cb966291018a55717ea500924879b23.tar.gz bcm5719-llvm-f8712de58cb966291018a55717ea500924879b23.zip |
Since we are having issues with the new LLVM MC disassembler, we can have
them both installed with the LLVM MC version being the default. I renamed the
name of the LLVM MC disassembler plug-in to "llvm-mc" and the LLVM enhanced
disassembly plug-in to "llvm-edis" and they can both be installed for now.
To use the "llvm-edis" disassembler, you can just specify it while disassembling:
(lldb) disassemble --plugin llvm-edis --name main
(lldb) disassemble --plugin llvm-mc --name main
This will allow us to compare the output of the two disassembler and eventually
deprecate the old one when the new one is ready. But it does use the new disassembler
by default so we continue to test it on a daily basis.
llvm-svn: 153231
Diffstat (limited to 'lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp')
-rw-r--r-- | lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp index 9df0d9437d0..47e6ddb208c 100644 --- a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp +++ b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp @@ -767,13 +767,13 @@ DisassemblerLLVM::Terminate() const char * DisassemblerLLVM::GetPluginNameStatic() { - return "llvm"; + return "llvm-edis"; } const char * DisassemblerLLVM::GetPluginDescriptionStatic() { - return "Disassembler that uses LLVM opcode tables to disassemble i386, x86_64 and ARM."; + return "Disassembler that uses the LLVM enhanced disassembler to disassemble i386, x86_64 and ARM."; } //------------------------------------------------------------------ |