Skip to content
  1. Sep 04, 2012
  2. Sep 01, 2012
    • Greg Clayton's avatar
      <rdar://problem/12069589> · c373ca5c
      Greg Clayton authored
      Fixed an issue where not all text would always be seen when running any of the functions in heap.py in Xcode. Now we put the text directly into the command result object and skip STDIO since we have issues with STDIO right now in python scripts.
      
      Also fixed an issue with the "--stack-history" option where MallocStackLoggingNoCompact was assumed to have to be enabled... It doesn't, just MallocStackLogging.
      
      llvm-svn: 163042
      c373ca5c
    • Jason Molenda's avatar
      Make the tab character in the thread frame lines optional. · d204afae
      Jason Molenda authored
      llvm-svn: 163037
      d204afae
  3. Aug 31, 2012
  4. Aug 29, 2012
    • Greg Clayton's avatar
      <rdar://problem/11757916> · 1f746071
      Greg Clayton authored
      Make breakpoint setting by file and line much more efficient by only looking for inlined breakpoint locations if we are setting a breakpoint in anything but a source implementation file. Implementing this complex for a many reasons. Turns out that parsing compile units lazily had some issues with respect to how we need to do things with DWARF in .o files. So the fixes in the checkin for this makes these changes:
      - Add a new setting called "target.inline-breakpoint-strategy" which can be set to "never", "always", or "headers". "never" will never try and set any inlined breakpoints (fastest). "always" always looks for inlined breakpoint locations (slowest, but most accurate). "headers", which is the default setting, will only look for inlined breakpoint locations if the breakpoint is set in what are consudered to be header files, which is realy defined as "not in an implementation source file". 
      - modify the breakpoint setting by file and line to check the current "target.inline-breakpoint-strategy" setting and act accordingly
      - Modify compile units to be able to get their language and other info lazily. This allows us to create compile units from the debug map and not have to fill all of the details in, and then lazily discover this information as we go on debuggging. This is needed to avoid parsing all .o files when setting breakpoints in implementation only files (no inlines). Otherwise we would need to parse the .o file, the object file (mach-o in our case) and the symbol file (DWARF in the object file) just to see what the compile unit was.
      - modify the "SymbolFileDWARFDebugMap" to subclass lldb_private::Module so that the virtual "GetObjectFile()" and "GetSymbolVendor()" functions can be intercepted when the .o file contenst are later lazilly needed. Prior to this fix, when we first instantiated the "SymbolFileDWARFDebugMap" class, we would also make modules, object files and symbol files for every .o file in the debug map because we needed to fix up the sections in the .o files with information that is in the executable debug map. Now we lazily do this in the DebugMapModule::GetObjectFile()
      
      Cleaned up header includes a bit as well.
      
      llvm-svn: 162860
      1f746071
    • Jason Molenda's avatar
      Instead of using re.split and requiring two spaces between the "regname: regvalue" pairs, · e5ad3859
      Jason Molenda authored
      use re.findall and specify the regexp of regname: regvalue that we're interested in.
      <rdar://problem/12188752> 
      
      llvm-svn: 162806
      e5ad3859
  5. Aug 27, 2012
  6. Aug 24, 2012
  7. Aug 22, 2012
  8. Aug 20, 2012
  9. Aug 13, 2012
  10. Aug 11, 2012
    • Greg Clayton's avatar
      Added a new "objc_refs" command that will track down all allocations on the... · 774ebdfc
      Greg Clayton authored
      Added a new "objc_refs" command that will track down all allocations on the heap that have the "isa" for the objective C class at offset zero. This will need to be improved to deal with KVO classes, but it is a start. It also disallows looking up a pointer value of zero since that would return way too many matches. 
      
      llvm-svn: 161724
      774ebdfc
  11. Aug 01, 2012
  12. Jul 28, 2012
  13. Jul 16, 2012
    • Greg Clayton's avatar
      Enable the "symbolicate" interactive command to symbolicate all crash logs if... · 784933b7
      Greg Clayton authored
      Enable the "symbolicate" interactive command to symbolicate all crash logs if no indexes are supplied. This can be handy to use as:
      
      (lldb) script import lldb.macosx.crashlog
      (lldb) crashlog -i /tmp/*.crash
      % symbolicate --crashed-only
      
      This will symbolicate all of the crash logs only for the crashed thread.
      
      Also print out the crash log index number in the output of the interactive "image" command:
      
      (lldb) script import lldb.macosx.crashlog
      (lldb) crashlog -i /tmp/*.crash
      % image LLDB.framework
      ...
      
      This then allows you to symbolicate a crash log by index accurately when you looked for an image of a specific version
      
      llvm-svn: 160316
      784933b7
  14. Jul 13, 2012
  15. Jul 12, 2012
  16. Jul 07, 2012
    • Greg Clayton's avatar
      Make const result value objects able to return dynamic types. · 9407302d
      Greg Clayton authored
      Modified the heap.py to be able to correctly indentify the exact ivar for the "ptr_refs" command no matter how deep the ivar is in a class hierarchy. Also fixed the ability for the heap command to symbolicate the stack backtrace when MallocStackLogging is set in the environment and the "--stack" option was specified.
      
      llvm-svn: 159883
      9407302d
  17. Jul 05, 2012
  18. Jul 03, 2012
  19. Jun 28, 2012
  20. Jun 27, 2012
  21. Jun 05, 2012
  22. Jun 01, 2012
  23. May 31, 2012
  24. May 21, 2012
  25. May 18, 2012
Loading