1. Oct 15, 2015
  2. Oct 14, 2015
    • Todd Fiala's avatar
      cmake: provide flag that enables 'log enable --stack' to provide useful... · d6f84060
      Todd Fiala authored
      cmake: provide flag that enables 'log enable --stack' to provide useful file/function info on POSIX systems
      
      Adding the following flag to a cmake line:
      -DLLDB_EXPORT_ALL_SYMBOLS=TRUE
      
      will cause all symbols to be exported from liblldb.  This enables the llvm
      backtrace mechanism to see and report backtrace symbols properly when using
      (lldb) log enable --stack ...
      
      Prior to this change, only the SB API symbols would show up on Linux and other
      systems that use a public-symbols-based backtrace lookup mechanism.
      
      log enable --stack ... is a very handy, quick way to understand the flow
      of how some log lines are getting hit within lldb without having to hook
      up a top-level debugger over your current debug session.
      
      llvm-svn: 250299
      d6f84060
    • Filipe Cabecinhas's avatar
      Tweak a -g related test for the PS4 · 2432ff59
      Filipe Cabecinhas authored
      Make sure we're matching what we want:
       - Always have -generate-arange-section (independent of -g)
       - Emit a -dwarf-version=... when -g is there.
      
      llvm-svn: 250298
      2432ff59
    • Simon Atanasyan's avatar
      [ELF2][mips] Support both big and little endian MIPS 32-bit targets · 9c2d788d
      Simon Atanasyan authored
      - Make the `MipsTargetInfo` template class with `ELFType` argument. Use
        the argument to select an appropriate relocation type and read/write
        routines.
      - Add template function `add32` to add-and-write relocation value in
        both big and little endian cases. Keep the `add32le` to reduce code
        changes.
      
      Differential Revision: http://reviews.llvm.org/D13723
      
      llvm-svn: 250297
      9c2d788d
    • Rui Ueyama's avatar
      ELF2: Remove getAddrSize(). · 5f551aee
      Rui Ueyama authored
      llvm-svn: 250296
      5f551aee
    • Pavel Labath's avatar
      lldb-server: add support for binary memory reads · 3bf11256
      Pavel Labath authored
      Summary:
      This commit adds support for binary memory reads ($x) to lldb-server. It also removes the "0x"
      prefix from the $x client packet, to make it more compatible with the old $m packet. This allows
      us to use almost the same code for handling both packet types. I have verified that debugserver
      correctly handles $x packets even without the leading "0x". I have added a test which verifies
      that the stub returns the same memory contents for both kinds of memory reads ($x and $m).
      
      Reviewers: tberghammer, jasonmolenda
      
      Subscribers: iancottrell, lldb-commits
      
      Differential Revision: http://reviews.llvm.org/D13695
      
      llvm-svn: 250295
      3bf11256