1. Sep 17, 2015
  2. Sep 16, 2015
    • Rafael Espindola's avatar
      Start creating dynamic relocations. · 19e3889d
      Rafael Espindola authored
      For now we don't create got/plt and only Elf_Rela is supported.
      
      llvm-svn: 247811
      19e3889d
    • Todd Fiala's avatar
      cmake fixes for lldb target. · 509300d9
      Todd Fiala authored
      ninja lldb now does the following:
      * forces the python post-build step to fire, which sets up the python lldb module properly.
      * on Darwin and Linux, requires the lldb-server target to be built.
      * on Darwin, requires the debugserver target to be built.
      
      See http://reviews.llvm.org/D12899 for details.
      
      llvm-svn: 247810
      509300d9
    • Adhemerval Zanella's avatar
      [MSan] Enable MSAN for aarch64 · 19074450
      Adhemerval Zanella authored
      This patch enabled msan for aarch64 with 39-bit VMA and 42-bit VMA.
      As defined by lib/msan/msan.h the memory layout used is for 39-bit is:
      
         00 0000 0000 - 40 0000 0000:  invalid
         40 0000 0000 - 43 0000 0000:  shadow
         43 0000 0000 - 46 0000 0000:  origin
         46 0000 0000 - 55 0000 0000:  invalid
         55 0000 0000 - 56 0000 0000:  app (low)
         56 0000 0000 - 70 0000 0000:  invalid
         70 0000 0000 - 80 0000 0000:  app (high)
      
      And for 42-bit VMA:
      
         000 0000 0000 - 100 0000 0000:  invalid
         100 0000 0000 - 11b 0000 0000:  shadow
         11b 0000 0000 - 120 0000 0000:  invalid
         120 0000 0000 - 13b 0000 0000:  origin
         13b 0000 0000 - 2aa 0000 0000:  invalid
         2aa 0000 0000 - 2ab 0000 0000:  app (low)
         2ab 0000 0000 - 3f0 0000 0000:  invalid
         3f0 0000 0000 - 400 0000 0000:  app (high)
      
      Most of tests are passing with exception of:
      
         * Linux/mallinfo.cc
         * chained_origin_limits.cc
         * dlerror.cc
         * param_tls_limit.cc
         * signal_stress_test.cc
         * nonnull-arg.cpp
      
      The 'Linux/mallinfo.cc' is due the fact AArch64 returns the sret in 'x8'
      instead of default first argument 'x1'.  So a function prototype that
      aims  to mimic (by using first argument as the return of function) won't
      work. For GCC one can make a register alias (register var asm ("r8")), but
      for clang it detects is an unused variable and generate wrong code.
      
      The 'chained_origin_limits' is probably due a wrong code generation,
      since it fails only when origin memory is used
      (-fsanitize-memory-track-origins=2) and only in the returned code
      (return buf[50]).
      
      The 'signal_streess_test' and 'nonnull-arg' are due currently missing variadic
      argument handling in memory sanitizer code instrumentation on LLVM side.
      
      Both 'dlerror' and 'param_tls_test' are unknown failures that require
      further investigation.
      
      All the failures are XFAIL for aarch64 for now.
      
      llvm-svn: 247809
      19074450
    • Adhemerval Zanella's avatar
      [sanitizers] Enable memory sanitizer on clang · 567b9260
      Adhemerval Zanella authored
      This patch enables MSan for aarch64/linux
      
      llvm-svn: 247808
      567b9260
    • Adhemerval Zanella's avatar
      [sanitizer] Add MSan support for AArch64 · f0c95bd2
      Adhemerval Zanella authored
      This patch adds support for msan on aarch64-linux for both 39 and
      42-bit VMA.  The support is enabled by defining the
      SANITIZER_AARCH64_VMA compiler flag to either 39 or 42 at build time
      for both clang/llvm and compiler-rt.  The default VMA is 39 bits.
      
      llvm-svn: 247807
      f0c95bd2
    • Alexander Kornienko's avatar
      [clang-tidy] google-runtime-int: made the matcher more restricting, added a... · 4d48e1e8
      Alexander Kornienko authored
      [clang-tidy] google-runtime-int: made the matcher more restricting, added a test for a false positive
      
      This should be NFC.
      
      llvm-svn: 247806
      4d48e1e8
    • Pavel Labath's avatar
      Upgrading TestCreateDuringInstructionStep from XFLAKY to XFAIL on android arm · 5ef13dc8
      Pavel Labath authored
      the test is very often failing two times in a row, causing noise on the buildbots.
      
      llvm-svn: 247805
      5ef13dc8