File tree 3 files changed +4
-0
lines changed
clang/lib/Driver/ToolChains
compiler-rt/test/ubsan/TestCases/TypeCheck/Function 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3444,6 +3444,8 @@ SanitizerMask Darwin::getSupportedSanitizers() const {
3444
3444
Res |= SanitizerKind::FuzzerNoLink;
3445
3445
Res |= SanitizerKind::ObjCCast;
3446
3446
3447
+ if (getTriple ().isArm64e ())
3448
+ Res &= ~SanitizerKind::Function;
3447
3449
// Apple-Clang: Don't support LSan. rdar://problem/45841334
3448
3450
Res &= ~SanitizerKind::Leak;
3449
3451
Original file line number Diff line number Diff line change 1
1
// RUN: %clang -g -fsanitize=function %s -o %t
2
2
// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK --implicit-check-not='runtime error:'
3
+ // XFAIL: arm64e-target-arch
3
4
4
5
void f (void (* fp )(int (* )[])) { fp (0 ); }
5
6
Original file line number Diff line number Diff line change 3
3
// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK
4
4
// Verify that we can disable symbolization if needed:
5
5
// RUN: %env_ubsan_opts=symbolize=0 %run %t 2>&1 | FileCheck %s --check-prefix=NOSYM
6
+ // XFAIL: arm64e-target-arch
6
7
7
8
struct Shared {};
8
9
using FnShared = void (*)(Shared *);
You can’t perform that action at this time.
0 commit comments