diff options
author | Greg Clayton <gclayton@apple.com> | 2011-04-23 02:04:55 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-04-23 02:04:55 +0000 |
commit | 7e14f91dbd0c651e2add6384da4e88f510919822 (patch) | |
tree | 6f6eff5c7bd830b2a2bc09026409de248cb4414a /lldb/source/Host/common/FileSpec.cpp | |
parent | 3d2185ba82ddf4f4a792b4c846390d8c445be311 (diff) | |
download | bcm5719-llvm-7e14f91dbd0c651e2add6384da4e88f510919822.tar.gz bcm5719-llvm-7e14f91dbd0c651e2add6384da4e88f510919822.zip |
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
Diffstat (limited to 'lldb/source/Host/common/FileSpec.cpp')
-rw-r--r-- | lldb/source/Host/common/FileSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/FileSpec.cpp b/lldb/source/Host/common/FileSpec.cpp index d83b182e618..1b6a69b3ef8 100644 --- a/lldb/source/Host/common/FileSpec.cpp +++ b/lldb/source/Host/common/FileSpec.cpp @@ -39,7 +39,7 @@ static bool GetFileStats (const FileSpec *file_spec, struct stat *stats_ptr) { char resolved_path[PATH_MAX]; - if (file_spec->GetPath(&resolved_path[0], sizeof(resolved_path))) + if (file_spec->GetPath (resolved_path, sizeof(resolved_path))) return ::stat (resolved_path, stats_ptr) == 0; return false; } |