- Apr 23, 2012
-
-
Sean Callanan authored
interpreter. llvm-svn: 155360
-
- Apr 21, 2012
-
-
Jason Molenda authored
llvm-svn: 155272
-
Johnny Chen authored
llvm-svn: 155260
-
- Apr 20, 2012
-
-
Jim Ingham authored
Make sure the "synchronous breakpoint callbacks" get called before the thread plan logic gets invoked, and if they ask to continue that should short-circuit the thread plans for that thread. Also add a bit more explanation for how this machinery is supposed to work. Also pass eExecutionPolicyOnlyWhenNeeded, not eExecutionPolicyAlways when evaluating the expression for breakpoint conditions. llvm-svn: 155236
-
Greg Clayton authored
Added logging so we can see when we are trying to complete a forward type and pull in the world. This is due to a compiler bug we are tracking (<rdar://problem/11291658>) where forward decls to classes and types are not properly scoped in namespaces, which results in the current LLDB looking for a type it will find many times in the accelerator tables, but never match. For example, when debugging with clang we get a forward decl like: class AnalysisResolver; And we will look for it everywhere and find many many matches, but the decl context of those matching DIEs is "clang::AnalysisResolver", so we never match anything, yet we pull in waaayyy too much DWARF in the process. To enable this logging enable the "lookups" category in the "dwarf" log channel: (lldb) log enable dwarf lookups llvm-svn: 155233
-
Greg Clayton authored
Don't put the address of the module in the module basename as this hoses up our ability to find shared libraries by name. We now put it into the Module object name. llvm-svn: 155223
-
rdar://problem/11259893Greg Clayton authored
Fixed an issue where iOS debugging would trust the first file it found in the SDK regardless of the UUID not matching. Now we actually get smart and can find modules in ANY of the installed SDKs and remember which SDK is our fallback SDK. llvm-svn: 155184
-
Jim Ingham authored
llvm-svn: 155175
-
- Apr 19, 2012
-
-
Jim Ingham authored
In debug mode, assert when we fail to get the sequence mutex. We need to remove as many places where this can happen as possible. llvm-svn: 155138
-
Jason Molenda authored
llvm-svn: 155093
-
Jim Ingham authored
Switch to setting the write side of the run lock when we call Resume. Then make a PrivateResume that doesn't switch the run-lock state, and use that where we are resuming without changing the public resume state. llvm-svn: 155092
-
Jim Ingham authored
for the plan stack, so assert here if it gets called with an empty plan stack. <rdar://problem/11265974> llvm-svn: 155078
-
Jim Ingham authored
llvm-svn: 155077
-
- Apr 18, 2012
-
-
Greg Clayton authored
Make sure EmulateInstructionARM doesn't have to have "armv4", "armv6", "armv7" as the exact architecture name, the arch name can just start with any of these strings. We need to be able to recognize different variants that might come along and not fail to backtrace completely (which happens when we aren't able to find an architecture that matches) when we don't have exact matches. llvm-svn: 155045
-
Greg Clayton authored
Added an iOS local debugging optimization when reading the __LINKEDIT section data for files in the dyld shared cache. llvm-svn: 154984
-
Greg Clayton authored
Find and allows users to use the cached SDK's that might be in "~/Library/Developer/Xcode/iOS DeviceSupport". Also enabled PlatformRemoteiOS to select an SDK using the build number in case you have mutliple 5.0 SDKs installed: (lldb) platform select remote-ios --build 11C123 llvm-svn: 154978
-
Jason Molenda authored
llvm-svn: 154975
-
Jason Molenda authored
llvm-svn: 154974
-
Sean Callanan authored
Objective-C methods, and Objective-C properties. llvm-svn: 154972
-
Greg Clayton authored
Update the way SDK directories are found so we are not reliant on the old "Latest" symlinks in the DeviceSupport directory. llvm-svn: 154966
-
Greg Clayton authored
llvm-svn: 154965
-
Sean Callanan authored
for the original Decl, for debugging purposes. llvm-svn: 154957
-
- Apr 17, 2012
-
-
Jason Molenda authored
llvm-svn: 154887
-
Sean Callanan authored
which incurs large overheads in terms of type parsing and importing. llvm-svn: 154885
-
- Apr 16, 2012
-
-
Greg Clayton authored
Fixed the ability to load multiple __LINKEDIT segments at the same address for darwin shared cache entries. Now when registering the load address of a section, the DynamicLoader objects can specify if they should warn or not. This will fix the ability to load the nlist entries for shared libraries in the darwin shared caches when no on disk representation is available for a shared library. llvm-svn: 154860
-
- Apr 14, 2012
-
-
Greg Clayton authored
Added a new host function that allows us to run shell command and get the output from them along with the status and signal: Error Host::RunShellCommand (const char *command, const char *working_dir, int *status_ptr, int *signo_ptr, std::string *command_output_ptr, uint32_t timeout_sec); This will allow us to use this functionality in the host lldb_private::Platform, and also use it in our lldb-platform binary. It leverages the existing code in Host::LaunchProcess and ProcessLaunchInfo. llvm-svn: 154730
-
Sean Callanan authored
checking for LLDB mutex validity are static so that entries put in there actually persist between calls to error_check_mutex. llvm-svn: 154727
-
Johnny Chen authored
Hello everyone, please find the attached patch for TOT and lldb-platform-work branch, which provides the following changes: - fixed a crash in the ProcessPOSIX constructor when an executable module object is not yet created. - added support for the multi instanciated FreeBSD platform objects (the local host and remote as example). - enabled the remote gdb plugin on FreeBSD. llvm-svn: 154724
-
Jim Ingham authored
The API lock was getting dropped too soon in GetVariables. GetValueObjectForFrameVariable could run the target (to get dynamic values) and that requires the target lock. llvm-svn: 154711
-
Jim Ingham authored
llvm-svn: 154710
-
Jim Ingham authored
Also fixed up some logging. llvm-svn: 154709
-
Jim Ingham authored
The run all threads timeout in RunThreadPlan should respect the user timeout, not be arbitrarily 10 seconds (which was too long anyway...) Also added some logging to RunThreadPlan and made others more regular. llvm-svn: 154708
-
- Apr 13, 2012
-
-
Greg Clayton authored
Added the thread ID (tid) to each packet history item and the packet history now always dumps to a lldb_private::Stream. Enable logging the packet history when registers fail to read due to not getting the sequence mutex if "--verbose" is enabled on the log channel for the "gdb-remote" log category. This will help us track down some issues. llvm-svn: 154704
-
Jim Ingham authored
Factor out a bunch of common code in the two ThreadPlanCallFunction constructors. Also add a sanity check - try reading the frame, and if we fail bag out. llvm-svn: 154698
-
rdar://problem/11193466Greg Clayton authored
Fixed an error where lldb would hang when writing memory near the end of the addres space due to an unsigned overflow. llvm-svn: 154697
-
Jim Ingham authored
llvm-svn: 154683
-
Jim Ingham authored
ThreadPlanCallFunction's destructor wasn't calling DoTakedown, so if the that plan got discarded we weren't doing the takedown. llvm-svn: 154681
-
rdar://problem/11241798Greg Clayton authored
The less locks there are, the better. I removed the thread ID mutex and now just shared the m_thread_list's mutex to make sure we don't deadlock due to lock inversion. llvm-svn: 154652
-
Jason Molenda authored
llvm-svn: 154650
-
Greg Clayton authored
Added more complete error checking for mutexes only for "Debug" builds where we always check if a mutex is valid prior to doing stuff with it. We also track when mutexes are initialized and destroyed and keep these in sets that can very subsequent pthread_mutex_XXX API calls. llvm-svn: 154637
-