[Lldb-commits] [lldb] r118666 - /lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp

Sean Callanan scallanan at apple.com
Tue Nov 9 17:38:28 PST 2010


Author: spyffe
Date: Tue Nov  9 19:38:28 2010
New Revision: 118666

URL: http://llvm.org/viewvc/llvm-project?rev=118666&view=rev
Log:
Fixed a bug where the LLVM disassembler was
ignoring the show_address parameter.

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=118666&r1=118665&r2=118666&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp Tue Nov  9 19:38:28 2010
@@ -115,7 +115,7 @@
         exe_scope = exe_ctx->GetBestExecutionContextScope();
 
     // If we have an address, print it out
-    if (GetAddress().IsValid())
+    if (GetAddress().IsValid() && show_address)
     {
         if (GetAddress().Dump (s, 
                                exe_scope, 





More information about the lldb-commits mailing list