Skip to content
  1. Feb 07, 2013
  2. Feb 06, 2013
    • Greg Clayton's avatar
      Removed debug print line I left in. · 1f380ea2
      Greg Clayton authored
      llvm-svn: 174556
      1f380ea2
    • Greg Clayton's avatar
      <rdar://problem/13159777> · 5ce9c565
      Greg Clayton authored
      lldb was mmap'ing archive files once per .o file it loads, now it correctly shares the archive between modules.
      
      LLDB was also always mapping entire contents of universal mach-o files, now it maps just the slice that is required.
      
      Added a new logging channel for "lldb" called "mmap" to help track future regressions.
      
      Modified the ObjectFile and ObjectContainer plugin interfaces to take a data offset along with the file offset and size so we can implement the correct caching and efficient reading of parts of files without mmap'ing the entire file like we used to.
      
      The current implementation still keeps entire .a files mmaped (once) and entire slices from universal files mmaped to ensure that if a client builds their binaries during a debug session we don't lose our data and get corrupt object file info and debug info.
      
      llvm-svn: 174524
      5ce9c565
    • Daniel Malea's avatar
      Fix bug in test harness to allow running dotest.py without "--executable" flag on Linux · 0e1cf09c
      Daniel Malea authored
      - resolves errors in cases that run the lldb CLI utility
      
      llvm-svn: 174522
      0e1cf09c
    • Daniel Malea's avatar
      eed92fb1
    • Daniel Malea's avatar
      Fix GCC 4.6 build by avoiding delegating ctors · 0b464d48
      Daniel Malea authored
      Patch by Abid Hafiz!
      
      llvm-svn: 174519
      0b464d48
    • Greg Clayton's avatar
      <rdar://problem/11109570> · 906ba471
      Greg Clayton authored
      The first part of the fix for having LLDB handle LTO debugging when the DWARF is in the .o files. This part separates the object file's modules into a separate cache map that maps unique C strings for the N_OSO path to the ModuleSP since one object file might be mentioned more than once in LTO binaries.
      
      llvm-svn: 174476
      906ba471
    • Greg Clayton's avatar
      Fixed the TestSourceManager.py test case to not fail. It was using the "list"... · 12ff126f
      Greg Clayton authored
      Fixed the TestSourceManager.py test case to not fail. It was using the "list" alias which has now been turned into a regex command that mimics the GDB equivalent. Changed "list" to "source list" to get around this problem.
      
      llvm-svn: 174474
      12ff126f
  3. Feb 05, 2013
  4. Feb 04, 2013
    • Enrico Granata's avatar
      <rdar://problem/12953018> · 3b1b2dab
      Enrico Granata authored
      Synthetic children and summary for std::vector<bool> (for both libcxx and libstdcpp).
      std::vector<bool> is a special case and is custom-implemented to be a vector of bits, which means we failed to handle it with the standard std::vector<T> formatter.
      This checkin provides custom formatters that work correctly
      
      llvm-svn: 174333
      3b1b2dab
  5. Feb 02, 2013
  6. Feb 01, 2013
  7. Jan 31, 2013
  8. Jan 30, 2013
    • Greg Clayton's avatar
      expressions + C++11 lambdas == cooooool!!! · 85e62eca
      Greg Clayton authored
      C++11 lambdas that don't capture anything can be used as static callback functions!
      
      Heavily modified this python module to be able to not require a dylib in order to traverse the heap allocations.
      
      Re-implemented the ptr_refs, objc_refs, malloc_info and cstr_refs to use complex expressions that use lambdas to do all static callback function work.
      
      llvm-svn: 173989
      85e62eca
    • Jason Molenda's avatar
      Verified that the plugin.dynamic-loader.darwin-kernel.scan-type · a46db772
      Jason Molenda authored
      setting is working correctly now; remove the #if 0's around its
      use.
      
      llvm-svn: 173982
      a46db772
    • Enrico Granata's avatar
      <rdar://problem/12552374> & <rdar://problem/13100674> · 54f279ff
      Enrico Granata authored
      The vtable pointer field is not necessarily a pointer and hence cannot be used for validation
      
      llvm-svn: 173947
      54f279ff
    • Dmitri Gribenko's avatar
      aa073de2
    • Dmitri Gribenko's avatar
      024aa853
    • Jason Molenda's avatar
      Fix one obvious thinko with the plugin.dynamic-loader.darwin-kernel.scan-type setting · 63969221
      Jason Molenda authored
      handling that was probably the source of the settings problem.  Need to verify that
      it's working correctly tomorrow though.
      
      llvm-svn: 173894
      63969221
    • Jason Molenda's avatar
      <rdar://problem/12491235> · 6ba6d3d1
      Jason Molenda authored
      Enhance lldb so it can search for a kernel in memory when attaching
      to a remote system.  Remove some of the code that was doing this
      from ProcessMachCore and ProcessGDBRemote and put it in
      DynamicLoaderDarwinKernel.
      
      I've added a new setting, plugin.dynamic-loader.darwin-kernel.scan-type
      which can be set to
      
       none   - for environments where reading random memory can cause a
                device crash 
       basic  - look at one fixed location in memory for a kernel load address, 
                plus the contents of that address
       fast-scan - the default, tries "basic" and then looks for the kernel's
                mach header near the current pc value when lldb connects
       exhaustive-scan - on 32-bit targets, step through the entire range where
                the kernel can be loaded, looking for the kernel binary
      
      I don't have the setting set up correctly right now, I'm getting back unexpected
      values from the Property system, but I'll figure that out tomorrow and fix.
      Besides that, all of the different communication methods / types of kernels 
      appear to be working correctly with these changes.
      
      llvm-svn: 173891
      6ba6d3d1
Loading