summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/PathMappingList.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a logic error which stopped paths from being properly remapped.Greg Clayton2012-06-281-1/+1
| | | | llvm-svn: 159362
* <rdar://problem/11072382>Greg Clayton2012-03-191-0/+21
| | | | | | | | | | Fixed a case where the source path remappings on the module were too expensive to use when we try to verify (stat the file system) that the remapped path points to a valid file. Now we will use the lldb_private::Module path remappings (if any) when parsing the debug info without verifying that the paths exist so we don't slow down line table parsing speeds. llvm-svn: 153059
* Include limits.h for PATH_MAX.Benjamin Kramer2012-03-181-0/+1
| | | | llvm-svn: 153013
* <rdar://problem/8196933>Greg Clayton2012-03-151-9/+60
| | | | | | Use the metadata in the dSYM bundle Info.plist to remap source paths when they keys are available. llvm-svn: 152836
* rdar://problem/10227672Johnny Chen2011-12-121-5/+14
| | | | | | | | | | | | | | | | | | There were two problems associated with this radar: 1. "settings show target.source-map" failed to show the source-map after, for example, "settings set target.source-map /Volumes/data/lldb/svn/trunk/test/source-manager /Volumes/data/lldb/svn/trunk/test/source-manager/hidden" has been executed to set the source-map. 2. "list -n main" failed to display the source of the main() function after we properly set the source-map. The first was fixed by adding the missing functionality to TargetInstanceSettings::GetInstanceSettingsValue (Target.cpp) and updating the support files PathMappingList.h/.cpp; the second by modifying SourceManager.cpp to fix several places with incorrect logic. Also added a test case test_move_and_then_display_source() to TestSourceManager.py, which moves main.c to hidden/main.c, sets target.source-map to perform the directory mapping, and then verifies that "list -n main" can still show the main() function. llvm-svn: 146422
* Fixed the SymbolContext::DumpStopContext() to correctly indent and dumpGreg Clayton2011-04-231-0/+110
| | | | | | | | | | | | | | | | | 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
* Minor warning/error fixes.Eli Friedman2010-06-091-1/+2
| | | | llvm-svn: 105718
* Initial checkin of lldb code from internal Apple repo.Chris Lattner2010-06-081-0/+125
llvm-svn: 105619
OpenPOWER on IntegriCloud