Skip to content
  1. Mar 14, 2012
    • Eric Christopher's avatar
      When adding member functions to a class add any specializations of · 947bb5a1
      Eric Christopher authored
      function templates as well.
      
      A future commit will mangle the added name with the template args
      like classes are mangled.
      
      Fixes rdar://10986010
      
      llvm-svn: 152683
      947bb5a1
    • David Blaikie's avatar
      Add a test case for PR8385. · 5a384a61
      David Blaikie authored
      "struct{template struct{" would fail an assertion.
      
      This assertion failure seems to have gone away somewhere along the line so
      here's a test to make sure we don't regress. We still accept some very weird
      explicit template 'instantiations' ("template int;", anyone) but at least we're
      not asserting/crashing here.
      
      llvm-svn: 152681
      5a384a61
    • Jason Molenda's avatar
      On iOS builds, install debugserver in /Developer/usr/bin. · 9514fa3d
      Jason Molenda authored
      Also add a copy files phase for -target ios that installs
      the debugserver launch plists.
      
      llvm-svn: 152680
      9514fa3d
    • 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
Loading