[compiler-rt] 7b1e685 - [hwasan] Exclude bcmp interceptor test from Android
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 17 09:05:53 PDT 2023
Author: Thurston Dang
Date: 2023-10-17T16:03:26Z
New Revision: 7b1e6851b65a4776e52602c2987b9861fbdc1170
URL: https://github.com/llvm/llvm-project/commit/7b1e6851b65a4776e52602c2987b9861fbdc1170
DIFF: https://github.com/llvm/llvm-project/commit/7b1e6851b65a4776e52602c2987b9861fbdc1170.diff
LOG: [hwasan] Exclude bcmp interceptor test from Android
This fixes a buildbot breakage (e.g.,
https://lab.llvm.org/buildbot/#/builders/77/builds/31422/steps/21/logs/stdio)
that was caused by the introduction of this test
(https://github.com/llvm/llvm-project/commit/ff1329e29709477472a93e9ce975f166f75999a3).
Build error from buildbot:
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/compiler-rt/test/hwasan/TestCases/bcmp.cpp:18:10: error: use of undeclared identifier 'bcmp'
18 | return bcmp(p, a, size);
Added:
Modified:
compiler-rt/test/hwasan/TestCases/bcmp.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/hwasan/TestCases/bcmp.cpp b/compiler-rt/test/hwasan/TestCases/bcmp.cpp
index 3dee4b8490efc06..a83147b0f320528 100644
--- a/compiler-rt/test/hwasan/TestCases/bcmp.cpp
+++ b/compiler-rt/test/hwasan/TestCases/bcmp.cpp
@@ -2,6 +2,7 @@
// RUN: %clangxx_hwasan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_hwasan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_hwasan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
+// REQUIRES: !android
#include <sanitizer/hwasan_interface.h>
#include <stdlib.h>
More information about the llvm-commits
mailing list