Skip to content
  1. Mar 14, 2012
    • Greg Clayton's avatar
      <rdar://problem/10434005> · d64afba5
      Greg 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
      d64afba5
    • Greg Clayton's avatar
      <rdar://problem/11042408> · 29e08cbb
      Greg 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
      29e08cbb
    • Jason Molenda's avatar
      bump to lldb-130 · 9def4c36
      Jason Molenda authored
      llvm-svn: 152689
      9def4c36
    • Greg Clayton's avatar
      <rdar://problem/11034170> · a1743499
      Greg 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
      a1743499
  2. Mar 13, 2012
  3. Mar 12, 2012
    • Enrico Granata's avatar
      Added formatters for libc++ (http://libcxx.llvm.org): · c7f87306
      Enrico 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
      c7f87306
  4. Mar 10, 2012
  5. Mar 09, 2012
  6. Mar 08, 2012
  7. Mar 07, 2012
    • Sean Callanan's avatar
      Look up ivar offset symbols correctly. We now · a8b3dbf2
      Sean Callanan authored
      treat Objective-C ivar symbols as their own kind
      of symbol rather than lumping them in with generic
      "runtime" symbols.
      
      llvm-svn: 152251
      a8b3dbf2
    • Jim Ingham's avatar
      When comparing a Thread against a ThreadSpec, don't fetch the Thread's Name or... · 3d902922
      Jim Ingham authored
      When comparing a Thread against a ThreadSpec, don't fetch the Thread's Name or QueueName if the ThreadSpec doesn't specify them.
      
      llvm-svn: 152245
      3d902922
    • Greg Clayton's avatar
      <rdar://problem/10997402> · e7612134
      Greg Clayton authored
      This fix really needed to happen as a previous fix I had submitted for
      calculating symbol sizes made many symbols appear to have zero size since
      the function that was calculating the symbol size was calling another function
      that would cause the calculation to happen again. This resulted in some symbols
      having zero size when they shouldn't. This could then cause infinite stack
      traces and many other side affects.
      
      llvm-svn: 152244
      e7612134
    • Johnny Chen's avatar
      rdar://problem/10998562 · 2c76eb02
      Johnny Chen authored
      lldb crashes under guard malloc
      
      Fix CommandObjectSettingsAppend::ExecuteRawCommandString() so that it does not perform the cmd_args.Shift()
      operation after it has got the var_name out of the raw string, since StringRef is manipulating the raw
      string later on.
      
      llvm-svn: 152194
      2c76eb02
    • Johnny Chen's avatar
      rdar://problem/10611315 · c79c93ad
      Johnny Chen authored
      expression command doesn't handle xmm or stmm registers...
      
      o Update ClangASTContext::GetBuiltinTypeForEncodingAndBitSize() to now handle eEncodingVector.
      
      o Modify RegisterValue::SetFromMemoryData() to fix the subtle error due to unitialized variables.
      
      o Add a test file for "expr $xmm0".
      
      llvm-svn: 152190
      c79c93ad
    • Han Ming Ong's avatar
      <rdar://10996650> · e86f8f4d
      Han Ming Ong authored
      Passed in the right number of parameters for CFDictionaryCreate
      
      llvm-svn: 152182
      e86f8f4d
    • Enrico Granata's avatar
      Using the new ScriptInterpreterObject in the implementation of synthetic... · a73b7df7
      Enrico Granata authored
      Using the new ScriptInterpreterObject in the implementation of synthetic children to enhance type safety
      Several places in the ScriptInterpreter interface used StringList objects where an std::string would suffice - Fixed
      Refactoring calls that generated special-purposes functions in the Python interpreter to use helper functions instead of duplicating blobs of code
      
      llvm-svn: 152164
      a73b7df7
    • Enrico Granata's avatar
      Fixing an issue where a ValueObject had changed its value but the 'value... · 297e69f1
      Enrico Granata authored
      Fixing an issue where a ValueObject had changed its value but the 'value changed' flag was not being set. This was breaking one of our test cases
      
      llvm-svn: 152161
      297e69f1
  8. Mar 06, 2012
Loading