From 6977c1caf43fa22988cfd811d65dce39f1720c34 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Mon, 3 Jul 2023 14:39:29 -0700 Subject: [lldb] Remove old commented out code (NFC) Move to `DumpAddress` in c4a8a76048e91baecb5746b80b9733e4af299937. --- lldb/source/Commands/CommandObjectTarget.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'lldb/source/Commands/CommandObjectTarget.cpp') 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; } -- cgit v1.1