[Lldb-commits] [lldb] r118244 - /lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
Jason Molenda
jmolenda at apple.com
Thu Nov 4 02:53:38 PDT 2010
Author: jmolenda
Date: Thu Nov 4 04:53:38 2010
New Revision: 118244
URL: http://llvm.org/viewvc/llvm-project?rev=118244&view=rev
Log:
Revert last checkin to DisassemblerLLVM.cpp; that was some temporary
debug printfs that got left behind by accident.
Modified:
lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
Modified: lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp?rev=118244&r1=118243&r2=118244&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp Thu Nov 4 04:53:38 2010
@@ -362,7 +362,6 @@
((strcasestr (arch_name, "i386") == arch_name) ||
(strcasestr (arch_name, "x86_64") == arch_name)))
return kEDAssemblySyntaxX86ATT;
-printf ("JSMDEBUG: Warning returning 'default' as the assembly syntax style\n");
return (EDAssemblySyntax_t)0; // default
}
@@ -383,10 +382,6 @@
char triple[256];
if (TripleForArchSpec (arch, triple, sizeof(triple)))
{
-printf ("JSMDEBUG: Getting disassembler for triple %s\n", triple);
-if (strcmp (triple, "x86_64-unknown-unknown") == 0)
- strcpy (triple, "x86_64-apple-darwin");
-printf ("JSMDEBUG: Getting disassembler for triple fixed %s\n", triple);
assert(!EDGetDisassembler(&m_disassembler, triple, SyntaxForArchSpec (arch)) && "No disassembler created!");
}
}
More information about the lldb-commits
mailing list