Skip to content
  1. Feb 26, 2011
  2. Feb 25, 2011
  3. Feb 23, 2011
    • Greg Clayton's avatar
      Abtracted all mach-o and ELF out of ArchSpec. This patch is a modified form · 64195a2c
      Greg Clayton authored
      of Stephen Wilson's idea (thanks for the input Stephen!). What I ended up
      doing was:
      - Got rid of ArchSpec::CPU (which was a generic CPU enumeration that mimics
        the contents of llvm::Triple::ArchType). We now rely upon the llvm::Triple 
        to give us the machine type from llvm::Triple::ArchType.
      - There is a new ArchSpec::Core definition which further qualifies the CPU
        core we are dealing with into a single enumeration. If you need support for
        a new Core and want to debug it in LLDB, it must be added to this list. In
        the future we can allow for dynamic core registration, but for now it is
        hard coded.
      - The ArchSpec can now be initialized with a llvm::Triple or with a C string
        that represents the triple (it can just be an arch still like "i386").
      - The ArchSpec can still initialize itself with a architecture type -- mach-o
        with cpu type and subtype, or ELF with e_machine + e_flags -- and this will
        then get translated into the internal llvm::Triple::ArchSpec + ArchSpec::Core.
        The mach-o cpu type and subtype can be accessed using the getter functions:
        
        uint32_t
        ArchSpec::GetMachOCPUType () const;
      
        uint32_t
        ArchSpec::GetMachOCPUSubType () const;
        
        But these functions are just converting out internal llvm::Triple::ArchSpec 
        + ArchSpec::Core back into mach-o. Same goes for ELF.
      
      All code has been updated to deal with the changes.
      
      This should abstract us until later when the llvm::TargetSpec stuff gets
      finalized and we can then adopt it.
      
      llvm-svn: 126278
      64195a2c
    • Greg Clayton's avatar
      Don't enable thread safe logging as it currently deadlocks logging. · 1971900f
      Greg Clayton authored
      llvm-svn: 126260
      1971900f
  4. Feb 22, 2011
  5. Feb 19, 2011
    • Jim Ingham's avatar
      - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting · 85e8b814
      Jim Ingham authored
      a Stream, and then added GetOutputData & GetErrorData to get the accumulated data.
      - Added a StreamTee that will tee output to two provided lldb::StreamSP's.
      - Made the CommandObjectReturn use this so you can Tee the results immediately to
      the debuggers output file, as well as saving up the results to return when the command
      is done executing.
      - HandleCommands now uses this so that if you have a set of commands that continue the target
      you will see the commands come out as they are processed.
      - The Driver now uses this to output the command results as you go, which makes the interface
      more reactive seeming.
      
      llvm-svn: 126015
      85e8b814
  6. Feb 16, 2011
  7. Feb 15, 2011
  8. Feb 14, 2011
  9. Feb 11, 2011
  10. Feb 10, 2011
    • Sean Callanan's avatar
      Fixes for two bugs: · 229ce2d5
      Sean Callanan authored
      - Objective-C constant strings were being
        NULL-terminated erroneously.
      
      - Empty Objective-C constant strings were not
        being generated correctly.
      
      Also added the template for a test of these
      fixes.
      
      llvm-svn: 125314
      229ce2d5
  11. Feb 09, 2011
  12. Feb 08, 2011
  13. Feb 04, 2011
  14. Feb 03, 2011
  15. Feb 02, 2011
  16. Feb 01, 2011
  17. Jan 31, 2011
  18. Jan 29, 2011
Loading