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
    • Filipe Cabecinhas's avatar
      Bring back r250262: PS4 toolchain · c888e190
      Filipe Cabecinhas authored
      There was a minor problem with a test. Sorry for the noise yesterday.
      
      This patch adds missing pieces to clang, including the PS4 toolchain
      definition, added warnings, PS4 defaults, and Driver changes needed for
      our compiler.
      
      A patch by Filipe Cabecinhas, Pierre Gousseau and Katya Romanova!
      
      Differential Revision: http://reviews.llvm.org/D13482
      
      llvm-svn: 250293
      c888e190
    • Igor Kudrin's avatar
      [llvm-readobj/ELF] fix: add correct test inputs · bd716ab0
      Igor Kudrin authored
      llvm-svn: 250292
      bd716ab0
    • Igor Kudrin's avatar
      [llvm-readobj/ELF] Print GNU Hash section · 496fb2f0
      Igor Kudrin authored
      Add a new command line switch, -gnu-hash-table, to print the content of that section.
      
      Differential Revision: http://reviews.llvm.org/D13696
      
      llvm-svn: 250291
      496fb2f0
    • Pavel Labath's avatar
      Revert "RenderScript command for printing allocation contents" · dee88345
      Pavel Labath authored
      This commit breaks TestDataFormatterSmartArray on all buildbots.
      
      llvm-svn: 250290
      dee88345
    • Tamas Berghammer's avatar
      Change ConstString to support massive multi-threaded access · 3fe5ce0b
      Tamas Berghammer authored
      Previously ConstString had a single mutex guarding the global string
      pool for each access what become a bottleneck when using it with a
      large number of threads.
      
      This CL distributes the strings to 256 individual string pools based on
      a simple hash function to eliminate the bottleneck and speed up the
      multi-thread access.
      
      The goal of the change is to prepare to multi-threaded symbol parsing code
      to speed up the symbol parsing speed.
      
      Differential revision: http://reviews.llvm.org/D13652
      
      llvm-svn: 250289
      3fe5ce0b
    • Angel Garcia Gomez's avatar
      Use __SIZE_TYPE__ to fix buildbot failures. · 9eb6e2e3
      Angel Garcia Gomez authored
      Summary: Use __SIZE_TYPE__ to fix buildbot failures.
      
      Reviewers: klimek
      
      Subscribers: cfe-commits
      
      Differential Revision: http://reviews.llvm.org/D13720
      
      llvm-svn: 250288
      9eb6e2e3