aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2023-07-03 14:39:29 -0700
committerDave Lee <davelee.com@gmail.com>2023-07-03 14:41:03 -0700
commit6977c1caf43fa22988cfd811d65dce39f1720c34 (patch)
tree241dd7a543b4f68b566891a952b32569d16fc74d /lldb/source/Commands/CommandObjectTarget.cpp
parentb4efc0f070baefa6a308f0cf4d23cd71ad608deb (diff)
downloadllvm-6977c1caf43fa22988cfd811d65dce39f1720c34.zip
llvm-6977c1caf43fa22988cfd811d65dce39f1720c34.tar.gz
llvm-6977c1caf43fa22988cfd811d65dce39f1720c34.tar.bz2
[lldb] Remove old commented out code (NFC)
Move to `DumpAddress` in c4a8a76048e91baecb5746b80b9733e4af299937.
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index b186c8e..868dc87 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -1507,28 +1507,6 @@ static bool LookupAddressInModule(CommandInterpreter &interpreter, Stream &strm,
ExecutionContextScope *exe_scope =
interpreter.GetExecutionContext().GetBestExecutionContextScope();
DumpAddress(exe_scope, so_addr, verbose, all_ranges, strm);
- // strm.IndentMore();
- // strm.Indent (" Address: ");
- // so_addr.Dump (&strm, exe_scope,
- // Address::DumpStyleModuleWithFileAddress);
- // strm.PutCString (" (");
- // so_addr.Dump (&strm, exe_scope,
- // Address::DumpStyleSectionNameOffset);
- // strm.PutCString (")\n");
- // strm.Indent (" Summary: ");
- // const uint32_t save_indent = strm.GetIndentLevel ();
- // strm.SetIndentLevel (save_indent + 13);
- // so_addr.Dump (&strm, exe_scope,
- // Address::DumpStyleResolvedDescription);
- // strm.SetIndentLevel (save_indent);
- // // Print out detailed address information when verbose is enabled
- // if (verbose)
- // {
- // strm.EOL();
- // so_addr.Dump (&strm, exe_scope,
- // Address::DumpStyleDetailedSymbolContext);
- // }
- // strm.IndentLess();
return true;
}