Skip to content
  1. 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
    • Johnny Chen's avatar
      rdar://problem/11374963 · 1083b0de
      Johnny Chen authored
      Fix a subtle ArchSpec::cores_match() logic issue which prevents the add-dsym command
      to add a debug symbol file to one of the target's current modules.
      
      llvm-svn: 162802
      1083b0de
  2. Aug 28, 2012
  3. Aug 27, 2012
  4. Aug 24, 2012
  5. Aug 23, 2012
    • Greg Clayton's avatar
      Added a hollowed out version of an OperatingSystem plugin that will use a... · b3e77600
      Greg Clayton authored
      Added a hollowed out version of an OperatingSystem plugin that will use a class in python to get thread information for threads stored in memory.
      
      llvm-svn: 162472
      b3e77600
    • Jim Ingham's avatar
      gdb format should default to count of 1. · 608036ae
      Jim Ingham authored
      <rdar://problem/12161861>
      
      llvm-svn: 162470
      608036ae
    • Johnny Chen's avatar
      rdar://problem/12022371 · b417dcdb
      Johnny Chen authored
      Make it so that "b 245" should set a breakpoint at line 245 of the current file.
      Also add a simple test file.
      
      llvm-svn: 162419
      b417dcdb
    • Greg Clayton's avatar
      <rdar://problem/12022079> · 754a9369
      Greg Clayton authored
      Added a new "interpreter" properties to encapsulate any properties for the command interpreter. Right now this contains only "expand-regex-aliases", so you can now enable (disabled by default) the echoing of the command that a regular expression alias expands to:
      
      (lldb) b main
      Breakpoint created: 1: name = 'main', locations = 1
      
      Note that the expanded regular expression command wasn't shown by default. You can enable it if you want to:
      
      (lldb) settings set interpreter.expand-regex-aliases true
      (lldb) b main
      breakpoint set --name 'main'
      Breakpoint created: 1: name = 'main', locations = 1
      
      Also enabled auto completion for enumeration option values (OptionValueEnumeration) and for boolean option values (OptionValueBoolean).
      
      Fixed auto completion for settings names when nothing has been type (it should show all settings).
      
      llvm-svn: 162418
      754a9369
  6. Aug 22, 2012
  7. Aug 21, 2012
  8. Aug 20, 2012
  9. Aug 18, 2012
Loading