- Mar 16, 2012
-
-
Johnny Chen authored
llvm-svn: 152948
-
Johnny Chen authored
GetSupportFileAtIndex(), GetNumSupportFiles(), FindSupportFileIndex(): Add API support for getting the list of files in a compilation unit. GetNumCompileUnits(), GetCompileUnitAtIndex(): Add API support for retrieving the compilation units in a module. llvm-svn: 152942
-
Johnny Chen authored
llvm-svn: 152941
-
Sean Callanan authored
llvm-svn: 152901
-
Sean Callanan authored
- Clang now completes all Objective-C objects (if they are not already complete, and they have external lexical sources) during structure layout, avoiding a LLDB crash. - The Clang Decl printer handles reference types correctly. This prevents LLDB from crashing when expression logging is enabled. llvm-svn: 152897
-
Enrico Granata authored
llvm-svn: 152890
-
Enrico Granata authored
llvm-svn: 152888
-
Johnny Chen authored
Add documentation for watchpoint commands. llvm-svn: 152882
-
- Mar 15, 2012
-
-
rdar://problem/8196933Greg Clayton authored
Use the metadata in the dSYM bundle Info.plist to remap source paths when they keys are available. llvm-svn: 152836
-
-
Johnny Chen authored
rdar://problem/11034702 For the time being, skip the relevant disassemble action which resulted in a crash. Minor modification (print out format) to the existing TestDisassembleRawBytes.py test file. llvm-svn: 152822
-
rdar://problem/11052829Greg Clayton authored
Fixed a case where if you have a argument stirng that ends with a '\' character, it would infinite loop while consuming all of your memory. Also fixed a case where non-quote terminated strings would inefficiently be handled. llvm-svn: 152809
-
rdar://11033946Han Ming Ong authored
Made sure that the root XPC service validate the right before starting the service. The right is created and authenticated by clients (in this case, lldb) and transferred over for validiation. llvm-svn: 152802
-
Sean Callanan authored
Now when LLDB reports a variable, it has a complete type. Similarly, when it reports members of a struct, it completes their types. Also, when it creates the result variable for an expression, it ensures that variable's type is complete. This ensures compliance with Clang's expectations, preventing potential crashes. llvm-svn: 152771
-
- Mar 14, 2012
-
-
rdar://problem/11049371Greg Clayton authored
http://llvm.org/bugs/show_bug.cgi?id=12232 Fixed a case where a missing "break" in a switch statement could cause an assertion to fire and kill the debug session. The fix was derived from the findings of Andrea Bigagli, thanks Andrea. llvm-svn: 152741
-
Enrico Granata authored
llvm-svn: 152733
-
Johnny Chen authored
llvm-svn: 152732
-
Sean Callanan authored
llvm-svn: 152726
-
Benjamin Kramer authored
llvm-svn: 152710
-
rdar://problem/10434005Greg Clayton authored
Prepare LLDB to be built with C++11 by hiding all accesses to std::tr1 behind macros that allows us to easily compile for either C++. llvm-svn: 152698
-
rdar://problem/11042408Greg Clayton authored
Fixed an issue with the FUNC_STARTS load command where we would get the symbol size wrong and we would add all sorts of symbols due to bit zero being set to indicate thumb. llvm-svn: 152696
-
Jason Molenda authored
llvm-svn: 152689
-
Jason Molenda authored
llvm-svn: 152687
-
Jason Molenda authored
Also add a copy files phase for -target ios that installs the debugserver launch plists. llvm-svn: 152680
-
rdar://problem/11034170Greg Clayton authored
Simplify the locking strategy for Module and its owned objects to always use the Module's mutex to avoid A/B deadlocks. We had a case where a symbol vendor was locking itself and then calling a function that would try to get it's Module's mutex and at the same time another thread had the Module mutex that was trying to get the SymbolVendor mutex. Now any classes that inherit from ModuleChild should use the module lock using code like: void ModuleChildSubclass::Function { ModuleSP module_sp(GetModule()); if (module_sp) { lldb_private::Mutex::Locker locker(module_sp->GetMutex()); ... do work here... } } This will help avoid deadlocks by using as few locks as possible for a module and all its child objects and also enforce detecting if a module has gone away (the ModuleSP will be returned empty if the weak_ptr does refer to a valid object anymore). llvm-svn: 152679
-
- Mar 13, 2012
-
-
Enrico Granata authored
The Cocoa formatters now provide error messages for many of the common things-went-wrong situations. Previously they would say nothing or log failures to the Python console llvm-svn: 152673
-
Jason Molenda authored
v. http://sourceware.org/gdb/current/onlinedocs/gdb/Packets.html#Packets the detach packet is supposed to send a reply. llvm-svn: 152671
-
Johnny Chen authored
For EmulateInstructionARM::EmulatePUSH(), fix the logical branch for when pc is pushed to behave like the other cases where: context.SetRegisterToRegisterPlusOffset (reg_info, sp_reg, addr - sp); is called to inform of the operation to set a register value to a memory location calculated from a base register plus an offset. llvm-svn: 152670
-
Sean Callanan authored
bad stack IDs. llvm-svn: 152630
-
Greg Clayton authored
llvm-svn: 152606
-
Jason Molenda authored
llvm-svn: 152603
-
Jason Molenda authored
llvm-svn: 152602
-
Jason Molenda authored
llvm-svn: 152601
-
Jason Molenda authored
Switch default compiler to clang. llvm-svn: 152600
-
Jason Molenda authored
llvm-svn: 152599
-
Enrico Granata authored
Changed several of the Cocoa formatters to match the output style that Xcode uses internally to provide summaries This has been done for those summaries where the difference is only cosmetic (e.g. naming things as items instead of values, ...) The LLDB output style has been preserved when it provides more information (e.g. telling the type as well as the value of an NSNumber) Test cases have been updated to reflect the updated output style where necessary llvm-svn: 152592
-
- Mar 12, 2012
-
-
http://libcxx.llvm.orgEnrico Granata authored
std::string has a summary provider std::vector std::list and std::map have both a summary and a synthetic children provider Given the usage of a custom namespace (std::__1::classname) for the implementation of libc++, we keep both libstdcpp and libc++ formatters enabled at the same time since that raises no conflicts and enabled for seamless transition between the two The formatters for libc++ reside in a libcxx category, and are loaded from libcxx.py (to be found in examples/synthetic) The formatters-stl test cases have been divided to be separate for libcxx and libstdcpp. This separation is necessary because (a) we need different compiler flags for libc++ than for libstdcpp (b) libc++ inlines a lot more than libstdcpp and some code changes were required to accommodate this difference llvm-svn: 152570
-
rdar://problem/11030692Greg Clayton authored
SBProcess::PutSTDIN() was not working for a few builds on darwin when using debugserver. This is now fixed. llvm-svn: 152569
-
Sean Callanan authored
llvm-svn: 152568
-
- Mar 10, 2012
-
-
Sean Callanan authored
on behalf of a DWARF expression. llvm-svn: 152477
-