Skip to content

Commit 7b1e685

Browse files
committed
[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 (ff1329e). 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);
1 parent 20af0e5 commit 7b1e685

File tree

1 file changed

+1
-0
lines changed
  • compiler-rt/test/hwasan/TestCases

1 file changed

+1
-0
lines changed

compiler-rt/test/hwasan/TestCases/bcmp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %clangxx_hwasan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s
33
// RUN: %clangxx_hwasan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
44
// RUN: %clangxx_hwasan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
5+
// REQUIRES: !android
56

67
#include <sanitizer/hwasan_interface.h>
78
#include <stdlib.h>

0 commit comments

Comments
 (0)