Skip to content
  1. Oct 29, 2012
    • Enrico Granata's avatar
      <rdar://problem/11449953> Change Debugger::SetOutputFileHandle() so that it... · b588726e
      Enrico Granata authored
      <rdar://problem/11449953> Change Debugger::SetOutputFileHandle() so that it does not automatically initialize the script interpreter in order to transfer its output file handle to it
      This should delay initialization of Python until strictly necessary and speed-up debugger startup
      Also, convert formatters for SEL and BOOL ObjC data-types from Python to C++, in order to reap more performance benefits from the above changes
      
      llvm-svn: 166967
      b588726e
    • Greg Clayton's avatar
      <rdar://problem/12500785> · 35a4cc5e
      Greg Clayton authored
      I tracked down a leak that could happen when detaching from a process where the lldb_private::Process objects would stay around forever. This was caused by a eStateDetached event that was queued up on the lldb_private::Process private state thread listener. Since process events contain shared pointers to the process, this is dangerous if they don't get consume or cleared as having the lldb_private::Process class contain a collection of things that have a shared pointer to yourself is obviously bad. 
      
      To fix this I modified the Process::Finalize() function to clear this list. The actual thing that was holding onto the ModuleSP and thus the static archive, was a stack frame. Since the process wasn't going away, it still had thread objects and they still had frames. I modified the Thread::Destroy() to clear the stack frames to ensure this further doesn't happen.
      
      llvm-svn: 166964
      35a4cc5e
    • Jim Ingham's avatar
      Fix an incorrect comment... · 629e7a98
      Jim Ingham authored
      llvm-svn: 166959
      629e7a98
    • Greg Clayton's avatar
      Improve the broadcast event dumping. · 6a3efacc
      Greg Clayton authored
      llvm-svn: 166950
      6a3efacc
  2. Oct 27, 2012
  3. Oct 26, 2012
  4. Oct 25, 2012
  5. Oct 24, 2012
  6. Oct 23, 2012
  7. Oct 22, 2012
    • Greg Clayton's avatar
      <rdar://problem/12524810> · e4c1ef55
      Greg Clayton authored
      Fixed a crasher where if an invalid SBTarget was passed to:
      
      lldb::addr_t
      SBAddress::GetLoadAddress (const SBTarget &target) const;
      
      We would crash.
      
      llvm-svn: 166439
      e4c1ef55
    • Enrico Granata's avatar
      <rdar://problem/12479701> Use the plain pydoc pager to work around Python... · f71a8399
      Enrico Granata authored
      <rdar://problem/12479701> Use the plain pydoc pager to work around Python help() pagination conflicts with our I/O management
      
      llvm-svn: 166432
      f71a8399
    • Enrico Granata's avatar
      <rdar://problem/12437442> · e3e91517
      Enrico Granata authored
      Given our implementation of ValueObjects we could have a scenario where a ValueObject has a dynamic type of Foo* at one point, and then its dynamic type changes to Bar*
      If Bar* has synthetic children enabled, by the time we figure that out, our public API is already vending SBValues wrapping a DynamicVO, instead of a SyntheticVO and there was
      no trivial way for us to change the SP inside an SBValue on the fly
      This checkin reimplements SBValue in terms of a wrapper, ValueImpl, that allows this substitutions on-the-fly by overriding GetSP() to do The Right Thing (TM)
      As an additional bonus, GetNonSyntheticValue() now works, and we can get rid of the ForceDisableSyntheticChildren idiom in ScriptInterpreterPython
      Lastly, this checkin makes sure the synthetic VOs get the correct m_value and m_data from their parents (prevented summaries from working in some cases)
      
      llvm-svn: 166426
      e3e91517
    • Greg Clayton's avatar
      <rdar://problem/12473003> · 7bc31332
      Greg Clayton authored
      Allow type searches to specify a type keyword when searching for type. Currently supported type keywords are: struct, class, union, enum, and typedef.
      
      So now you can search for types with a string like "struct foo".
      
      llvm-svn: 166420
      7bc31332
Loading