File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
compiler-rt/test/hwasan/TestCases Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
1
// This test requires operator new to be intercepted by the hwasan runtime,
2
2
// so we need to avoid linking against libc++.
3
- // RUN: %clangxx_hwasan %s -nostdlib++ -lstdc++ -o %t
3
+ // RUN: %clangxx_hwasan %s -nostdlib++ -lstdc++ -o %t || %clangxx_hwasan %s -o %t
4
4
// RUN: %env_hwasan_opts=allocator_may_return_null=0 not %run %t malloc 2>&1 | FileCheck %s --check-prefix=CHECK-max
5
5
// RUN: %env_hwasan_opts=allocator_may_return_null=1 %run %t malloc 2>&1
6
6
// RUN: %env_hwasan_opts=allocator_may_return_null=0 not %run %t malloc max 2>&1 | FileCheck %s --check-prefix=CHECK-max
23
23
// allocator can allocate. Tests that an integer overflow in the parameters of
24
24
// calloc is caught.
25
25
26
- // FIXME: Fails on some bots.
27
- // UNSUPPORTED: target={{.*}}
28
-
29
26
#include < assert.h>
30
27
#include < malloc.h>
31
28
#include < stdlib.h>
You can’t perform that action at this time.
0 commit comments