[PATCH] D91620: [compiler-rt][test] Heed COMPILER_RT_DEBUG when compiling unittests

Haowei Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 12:53:10 PST 2022


haowei added a comment.

We are seeing following test failures on Fuchsia's Clang Linux x64 builders after this change (255c3e3dcb06299aa2365f70817322a8a381c351 <https://reviews.llvm.org/rG255c3e3dcb06299aa2365f70817322a8a381c351>) landed:

  MemorySanitizer-Unit :: ./Msan-x86_64-Test/34/38
  MemorySanitizer-Unit :: ./Msan-x86_64-Test/MemorySanitizer/SelectPartial
  MemorySanitizer-Unit :: ./Msan-x86_64-with-call-Test/34/38
  MemorySanitizer-Unit :: ./Msan-x86_64-with-call-Test/MemorySanitizer/SelectPartial
  MemorySanitizer-Unit :: ./Msan-x86_64-with-call-Test/MemorySanitizer/SelectPartial
  Profile-x86_64 :: Linux/comdat_rename.test
  Profile-x86_64 :: Linux/instrprof-show-debug-info-correlation.c
  Profile-x86_64 :: instrprof-dump.c
  Profile-x86_64 :: instrprof-write-file-only.c
  Profile-x86_64 :: instrprof-write-file.c

Example of error message:

  Script:
  --
  /b/s/w/ir/x/w/staging/llvm_build/runtimes/runtimes-x86_64-unknown-linux-gnu-bins/compiler-rt/lib/msan/tests/./Msan-x86_64-Test --gtest_filter=MemorySanitizer.SelectPartial
  --
  compiler-rt/lib/msan/tests/msan_test.cpp:178
  Expected: (-1) != (__msan_test_shadow((void*)&t, sizeof(t))), actual: -1 vs -1

Link to the failed builder: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8794900470653863441/overview

Please take a look. And if it takes a long time to fix, could you revert this change please?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91620/new/

https://reviews.llvm.org/D91620



More information about the llvm-commits mailing list