Make the output from "target modules lookup -n"

prettier.

llvm-svn: 150285
This commit is contained in:
Sean Callanan 2012-02-11 00:24:04 +00:00
parent 7e7da2d285
commit f6172c2cbc
1 changed files with 10 additions and 1 deletions

View File

@ -1485,12 +1485,21 @@ DumpSymbolContextList (CommandInterpreter &interpreter, Stream &strm, SymbolCont
strm.PutCString(" in ");
}
}
AddressRange range;
sc.GetAddressRange(eSymbolContextEverything,
0,
true,
range);
sc.DumpStopContext(&strm,
exe_scope,
sc.line_entry.range.GetBaseAddress(),
range.GetBaseAddress(),
true,
true,
false);
strm.EOL();
if (verbose)
{