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
    • Joerg Sonnenberger's avatar
    • Alexander Kornienko's avatar
      [clang-tidy] Make google-runtime-int configurable. · f63f9e3d
      Alexander Kornienko authored
      llvm-svn: 247803
      f63f9e3d
    • Rui Ueyama's avatar
      COFF: Create ICF class to move code from SectionChunk to ICF. NFC. · 92298d54
      Rui Ueyama authored
      This patch defines ICF class and defines ICF-related functions as
      members of the class. By doing this we can move code that are
      related only to ICF from SectionChunk to the newly-defined class.
      This also eliminates a global variable "NextID".
      
      llvm-svn: 247802
      92298d54
    • Ed Maste's avatar
      Remove expectedFailureFreeBSD from passing watchpoint tests · 9d3d7131
      Ed Maste authored
      llvm.org/pr18832
      
      llvm-svn: 247801
      9d3d7131
    • Ed Maste's avatar
      Remove expectedFailureFreeBSD from passing test · e84f4094
      Ed Maste authored
      ExprCommandCallUserDefinedFunction::test_with_dwarf
      
      llvm.org/pr21142
      
      llvm-svn: 247800
      e84f4094
    • Ed Maste's avatar
      Remove expectedFailureFreeBSD from passing test · d8ac5b41
      Ed Maste authored
      ExprCommandWithTimeoutsTestCase::expectedFailureFreeBSD
      
      This test passes locally but was marked XFAIL due to failures on the
      FreeBSD buildbot. That buildbot has been retired as it was overloaded,
      and we will investigate again if this fails once a new buildbot is in
      place.
      
      llvm.org/pr19605
      
      llvm-svn: 247799
      d8ac5b41