llvm-project/lldb/source/Target
Johnny Chen 64bab4894e rdar://problem/10227672
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
2011-12-12 21:59:28 +00:00
..
ABI.cpp Added a new plug-in type: lldb_private::OperatingSystem. The operating system 2011-08-22 02:49:39 +00:00
CPPLanguageRuntime.cpp Move the responsibility for translating the various eFunctionNameType lookups to the 2011-10-07 22:23:45 +00:00
ExecutionContext.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
LanguageRuntime.cpp Replace the vestigial Value::GetOpaqueCLangQualType with the more correct Value::GetValueOpaqueClangQualType. 2010-09-28 01:25:32 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
Memory.cpp Added an allocated memory cache to avoid having to allocate memory over and 2011-05-17 03:37:42 +00:00
ObjCLanguageRuntime.cpp Changed lldb_private::Type over to use the intrusive ref counted pointers 2011-10-18 23:36:41 +00:00
OperatingSystem.cpp Added a new plug-in type: lldb_private::OperatingSystem. The operating system 2011-08-22 02:49:39 +00:00
PathMappingList.cpp rdar://problem/10227672 2011-12-12 21:59:28 +00:00
Platform.cpp Use a pseudoterminal for local processes if no STDIO redirection or other 2011-11-17 22:14:31 +00:00
Process.cpp Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This 2011-12-01 23:28:38 +00:00
RegisterContext.cpp Added the ability to get the return value from a ThreadPlanCallFunction 2011-05-15 01:25:55 +00:00
SectionLoadList.cpp One more fix to: 2011-05-18 18:22:47 +00:00
StackFrame.cpp Many GDB users always want to display disassembly when they stop by using 2011-11-21 21:44:34 +00:00
StackFrameList.cpp Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
StackID.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
StopInfo.cpp Rework how the breakpoint conditions & callbacks are handled. We now iterate over all the locations at the site 2011-12-09 04:17:31 +00:00
Target.cpp rdar://problem/10227672 2011-12-12 21:59:28 +00:00
TargetList.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
Thread.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadList.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
ThreadPlan.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
ThreadPlanBase.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
ThreadPlanCallFunction.cpp Enhanced the ObjC DynamicCheckerFunction to test for "object responds to selector" as well as 2011-11-01 02:46:54 +00:00
ThreadPlanCallUserExpression.cpp Enhanced the ObjC DynamicCheckerFunction to test for "object responds to selector" as well as 2011-11-01 02:46:54 +00:00
ThreadPlanRunToAddress.cpp Using the wrong type for the break id's (user_id_t is an unsigned int, but internal breakpoints can be negative, and anyway it is a good idea to use break_id_t for breakpoints, no?) 2011-11-10 01:12:26 +00:00
ThreadPlanShouldStopHere.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepInRange.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepInstruction.cpp Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +00:00
ThreadPlanStepOut.cpp Make "next" and "step-out" work when in stepping over or out of inlined functions. 2011-10-15 00:57:28 +00:00
ThreadPlanStepOverBreakpoint.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
ThreadPlanStepOverRange.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepRange.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepThrough.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepUntil.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
ThreadPlanTestCondition.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
ThreadPlanTracer.cpp We were leaking a stack frame in StackFrameList in Thread.cpp which could 2011-08-12 21:40:01 +00:00
ThreadSpec.cpp Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This 2011-12-01 23:28:38 +00:00
UnixSignals.cpp Fixed some issues with ARM backtraces by not processing any push/pop 2011-07-06 04:07:21 +00:00
UnwindAssembly.cpp Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00