[all-commits] [llvm/llvm-project] 895878: [asan][tsan] Mark tests failing with debug checks ...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon Aug 3 02:52:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 895878f4568d3c5fe470bd811c2dfdbbe285e5aa
      https://github.com/llvm/llvm-project/commit/895878f4568d3c5fe470bd811c2dfdbbe285e5aa
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Linux/activation-options.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-vtable.cpp
    M compiler-rt/test/asan/TestCases/Posix/start-deactivated.cpp
    M compiler-rt/test/asan/TestCases/handle_noreturn_bug.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Linux/allow_user_segv.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Linux/signal_line.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Posix/illegal_read_test.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Posix/illegal_write_test.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp

  Log Message:
  -----------
  [asan][tsan] Mark tests failing with debug checks as XFAIL

See https://llvm.org/PR46862. This does not fix the underlying issue but at
least it allows me to run check-all again without having to disable
building compiler-rt.

Reviewed By: #sanitizers, vitalybuka

Differential Revision: https://reviews.llvm.org/D84650


  Commit: 03affa8099cba3876aca209daa213dcb880bc34a
      https://github.com/llvm/llvm-project/commit/03affa8099cba3876aca209daa213dcb880bc34a
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M compiler-rt/test/msan/libatomic.c

  Log Message:
  -----------
  [msan] Compile the libatomic.c test with a C compiler

Otherwise we end up compiling in C++ mode and on FreeBSD
/usr/include/stdatomic.h is not compatible with C++ since it uses _Bool.

Reviewed By: guiand, eugenis, vitalybuka, emaste

Differential Revision: https://reviews.llvm.org/D84510


  Commit: d23b15cc160775dcc5b6e2c2d7706a67be1225f1
      https://github.com/llvm/llvm-project/commit/d23b15cc160775dcc5b6e2c2d7706a67be1225f1
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
    M llvm/utils/llvm-lit/llvm-lit.in

  Log Message:
  -----------
  Execute llvm-lit with the python found by CMake by default

The check-* targets run ${Python3_EXECUTABLE} $BUILD/bin/llvm-lit, but
running `./bin/llvm-lit $ARGS` from the build directory currently always
uses "python" to run llvm-lit. On most systems this will be python2.7 even
if we found python3 at CMake time.

Reviewed By: compnerd

Differential Revision: https://reviews.llvm.org/D84625


Compare: https://github.com/llvm/llvm-project/compare/87de54dbb6ef...d23b15cc1607


More information about the All-commits mailing list