Skip to content
  1. May 09, 2012
  2. May 08, 2012
  3. May 07, 2012
  4. May 06, 2012
  5. May 05, 2012
  6. May 04, 2012
    • Greg Clayton's avatar
      Added an interactive mode to the "crashlog" command so that we can look at... · c8f73d7b
      Greg Clayton authored
      Added an interactive mode to the "crashlog" command so that we can look at multiple crash logs at once and do some data mining. Added an interactive command prompt that allows you to do:
      
      % PYTHONPATH=./build/Debug/LLDB.framework/Resources/Python ; ./build/Debug//LLDB.framework/Resources/Python/lldb/macosx/crashlog.py -i ~/Downloads/crashes2/*.crash ) 
      
      then you get an interactive prompt where you can search for data within all crash logs. For example you can do:
      
      % list
      
      which will list all crash logs
      
      And you can search for all images given an image basename, or full path:
      
      % image LLDB
      % image /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB
      % image LLDB.framework
      
      Which would all produce an output listing like:
      
      40CD4430-7D27-3248-BE4C-71B1F36FC5D0 (1.132 - 132) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000011f8bc000 - 0x0000000120d3efbf)
      B727A528-FF1F-3B20-9E4F-BBE96C7D922D (1.136 - 136) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000011e7f7000 - 0x000000011fc7ff87)
      4D6F8DC2-5757-39C7-96B0-1A5B5171DC6B (1.137 - 137) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000012bd7f000 - 0x000000012d1fcfef)
      FBF8786F-92B9-31E3-8BCD-A82148338966 (1.137 - 137) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000122d78000 - 0x00000001241f5fd7)
      7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000119b8d000 - 0x000000011b02ef5f)
      7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000111497000 - 0x0000000112938f5f)
      7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000116680000 - 0x0000000117b21f5f)
      
      llvm-svn: 156201
      c8f73d7b
    • Johnny Chen's avatar
      When the current thread state is NULL, PyThreadState_Get() issues a fatal error. · 30e422d7
      Johnny Chen authored
      Use a gentler API PyThreadState_GetDict(), instead.
      
      rdar://problem/11292882
      
      llvm-svn: 156200
      30e422d7
    • Jim Ingham's avatar
      Fix a think in Mutex::Locker::Locker(pthread_mutex_t *) Really should lock... · c075ecd8
      Jim Ingham authored
      Fix a think in Mutex::Locker::Locker(pthread_mutex_t *)  Really should lock the mutex handed in, not the m_mutex_ptr that you've set to NULL...
      Rework the Host.cpp::ThreadNameAccessor to use ThreadSafeSTLMap - we've got it so we might as well use it.  Also works around a problem with the
      Mutex::Locker class raising fallacious asserts in debug mode when used with pthread_mutex_t's that weren't backed by Mutex objects.
      
      llvm-svn: 156193
      c075ecd8
    • Jason Molenda's avatar
      In ProcessGDBRemote::DoConnectRemote(), if the remote system informed · 16d127cb
      Jason Molenda authored
      us of its architecture, use that to set the Target's arch if it
      doesn't already have one set.
      
      In Process::CompleteAttach(), if the Target has a valid arch make
      sure that the Platform we pick up is compatible with that arch; if
      not, find a Platform that is compatible.  Don't let the the default
      platform override the Target's arch.
      
      <rdar://problem/11185420>
      
      llvm-svn: 156116
      16d127cb
    • Johnny Chen's avatar
      Fix the following error when importing crashlog.py from a Python interactive session: · 356782f5
      Johnny Chen authored
          AttributeError: 'module' object has no attribute 'debugger'
      
      llvm-svn: 156115
      356782f5
  7. May 03, 2012
  8. May 02, 2012
Loading