Fixed the SymbolContext::DumpStopContext() to correctly indent and dump

inline contexts when the deepest most block is not inlined.

Added source path remappings to the lldb_private::Target class that allow it
to remap paths found in debug info so we can find source files that are elsewhere
on the current system.

Fixed disassembly by function name to disassemble inline functions that are
inside other functions much better and to show enough context before the
disassembly output so you can tell where things came from.

Added the ability to get more than one address range from a SymbolContext 
class for the case where a block or function has discontiguous address ranges.

llvm-svn: 130044
This commit is contained in:
Greg Clayton
2011-04-23 02:04:55 +00:00
parent 3d2185ba82
commit 7e14f91dbd
24 changed files with 650 additions and 143 deletions

View File

@@ -61,7 +61,8 @@ SBSourceManager::DisplaySourceLinesWithLineNumbers
if (file.IsValid())
{
return m_opaque_ptr->DisplaySourceLinesWithLineNumbers (*file,
return m_opaque_ptr->DisplaySourceLinesWithLineNumbers (NULL,
*file,
line,
context_before,
context_after,