This is an archive of the discontinued LLVM Phabricator instance.

[GWP-ASan] Disable GWP-ASan on Android for now.
ClosedPublic

Authored by hctim on Jun 17 2019, 3:24 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

hctim created this revision.Jun 17 2019, 3:24 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 17 2019, 3:24 PM
Herald added subscribers: llvm-commits, Restricted Project, jfb and 4 others. · View Herald Transcript
hctim added a comment.Jun 17 2019, 3:24 PM

Current failures look like this:

FAIL: GWP-ASan-i386 :: double_deletea.cpp (448 of 1106)
******************** TEST 'GWP-ASan-i386 :: double_deletea.cpp' FAILED ********************
Script:
--
: 'RUN: at line 2';     /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm/projects/compiler-rt/test/sanitizer_common/android_commands/android_compile.py  /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/bin/clang   -pie -fuse-ld=gold --target=i686-linux-android --sysroot=/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/android_ndk/standalone-i686/sysroot -B/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/android_ndk/standalone-i686  --driver-mode=g++ -stdlib=libstdc++ -std=c++11 -fsanitize=scudo /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm/projects/compiler-rt/test/gwp_asan/double_deletea.cpp -o /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/test/gwp_asan/I386AndroidConfig/Output/double_deletea.cpp.tmp
: 'RUN: at line 3';   not  /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/compiler_rt_build_android_i686/test/gwp_asan/I386AndroidConfig/Output/double_deletea.cpp.tmp 2>&1 | FileCheck /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm/projects/compiler-rt/test/gwp_asan/double_deletea.cpp
--
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm/projects/compiler-rt/test/gwp_asan/double_deletea.cpp:5:11: error: CHECK: expected string not found in input
// CHECK: GWP-ASan detected a memory error
          ^
<stdin>:1:1: note: scanning from here
Segmentation fault 
^
<stdin>:2:1: note: possible intended match here
error: Aborted (core dumped)
^

--
eugenis accepted this revision.Jun 17 2019, 3:28 PM

LGTM

This revision is now accepted and ready to land.Jun 17 2019, 3:28 PM
This revision was automatically updated to reflect the committed changes.