[PATCH] D71573: Change `asan/TestCases/Darwin/malloc_zone-protected.cpp` to call abort so that it **always crashes**.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 16:44:28 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe2bcc33b50f6: Change `asan/TestCases/Darwin/malloc_zone-protected.cpp` to call abort so that… (authored by delcypher).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71573/new/
https://reviews.llvm.org/D71573
Files:
compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
Index: compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
===================================================================
--- compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
+++ compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
@@ -3,7 +3,7 @@
#include <stdio.h>
// RUN: %clangxx_asan %s -o %t
-// RUN: not %run %t 2>&1 | FileCheck %s
+// RUN: ASAN_OPTIONS="abort_on_error=1" not --crash %run %t 2>&1 | FileCheck %s
void *pwn(malloc_zone_t *unused_zone, size_t unused_size) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71573.234190.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191217/40cd12c0/attachment.bin>
More information about the llvm-commits
mailing list