File tree Expand file tree Collapse file tree 5 files changed +12
-11
lines changed
sanitizer_common/TestCases/Posix Expand file tree Collapse file tree 5 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 11// FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
2- // XFAIL: android
3- // UNSUPPORTED: ios
2+ // UNSUPPORTED: ios, android
43//
54// The for loop in the backticks below requires bash.
65// REQUIRES: shell
Original file line number Diff line number Diff line change 99// RUN: FileCheck %s --check-prefix=CHECK-ERROR < %t-dir/asan.log.verbose-log-path_test-binary.*
1010
1111// FIXME: only FreeBSD, NetBSD and Linux have verbose log paths now.
12- // XFAIL: target={{.*windows-msvc.*}},android
13- // UNSUPPORTED: ios
12+ // XFAIL: target={{.*windows-msvc.*}}
13+ // UNSUPPORTED: ios, android
1414
1515#include < stdlib.h>
1616#include < string.h>
Original file line number Diff line number Diff line change 33// Default compiler instrumentation works with any shadow base (dynamic or fixed).
44// RUN: %clang_hwasan %s -o %t
55// RUN: %run %t
6- // RUN: env HWASAN_OPTIONS=fixed_shadow_base=263878495698944 %run %t 2>%t.out || (cat %t.out | FileCheck %s)
6+ // RUN: env HWASAN_OPTIONS=fixed_shadow_base=263878495698944 %run %t
77// RUN: env HWASAN_OPTIONS=fixed_shadow_base=4398046511104 %run %t
88//
99// If -hwasan-mapping-offset is set, then the fixed_shadow_base needs to match.
1010// RUN: %clang_hwasan %s -mllvm -hwasan-mapping-offset=263878495698944 -o %t
11- // RUN: env HWASAN_OPTIONS=fixed_shadow_base=263878495698944 %run %t 2>%t.out || (cat %t.out | FileCheck %s)
11+ // RUN: env HWASAN_OPTIONS=fixed_shadow_base=263878495698944 %run %t
1212// RUN: env HWASAN_OPTIONS=fixed_shadow_base=4398046511104 not %run %t
1313
1414// RUN: %clang_hwasan %s -mllvm -hwasan-mapping-offset=4398046511104 -o %t
2626//
2727// UNSUPPORTED: android
2828
29- // CHECK: FATAL: HWAddressSanitizer: Shadow range {{.*}} is not available
30-
3129#include <assert.h>
3230#include <sanitizer/allocator_interface.h>
3331#include <sanitizer/hwasan_interface.h>
Original file line number Diff line number Diff line change 1+ // AIX does not support env -u.
2+ // TODO(boomanaiden154): Reenable AIX support once we use the internal shell by
3+ // default.
4+ // UNSUPPORTED: system-aix
5+
16// RUN: rm -rf %t
27// RUN: mkdir -p %t
38// RUN: cd %t
1217// RUN: llvm-profdata show ./raw2.profraw | FileCheck %s -check-prefix TMPDIR
1318//
1419// Check that we fall back to the default path if TMPDIR is missing.
15- // RUN: %if system-aix %{ unset TMPDIR %}
16- // RUN: env %if !system-aix %{ -u TMPDIR %} LLVM_PROFILE_FILE="%%t/raw3.profraw" %run %t/binary 2>&1 | FileCheck %s -check-prefix MISSING
20+ // RUN: env -u TMPDIR LLVM_PROFILE_FILE="%%t/raw3.profraw" %run %t/binary 2>&1 | FileCheck %s -check-prefix MISSING
1721// RUN: llvm-profdata show ./default.profraw | FileCheck %s -check-prefix TMPDIR
1822
1923// TMPDIR: Maximum function count: 1
Original file line number Diff line number Diff line change 77// RUN: not %run %t %t-out && FileCheck < %t-out %s
88
99// REQUIRES: stable-runtime
10- // XFAIL : android && asan
10+ // UNSUPPORTED : android
1111
1212#include < sanitizer/common_interface_defs.h>
1313#include < stdio.h>
You can’t perform that action at this time.
0 commit comments