forked from OSchip/llvm-project
Allow builtins for Cross-DSO CFI on Android
This is needed to avoid the test failure in case when compiler-rt is set as the default runtime library for Clang. Differential Revision: https://reviews.llvm.org/D44655 llvm-svn: 327932
This commit is contained in:
parent
b86541a0ff
commit
5559144206
|
@ -514,7 +514,7 @@
|
|||
// RUN: --sysroot=%S/Inputs/basic_android_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-CFI-CROSS-DSO-ANDROID %s
|
||||
// CHECK-CFI-CROSS-DSO-ANDROID: "{{.*}}ld{{(.exe)?}}"
|
||||
// CHECK-CFI-CROSS-DSO-ANDROID-NOT: libclang_rt.
|
||||
// CHECK-CFI-CROSS-DSO-ANDROID-NOT: libclang_rt.cfi
|
||||
|
||||
// Cross-DSO CFI with diagnostics on Android links just the UBSAN runtime.
|
||||
// RUN: %clang -fsanitize=cfi -fsanitize-cfi-cross-dso %s -### -o %t.o 2>&1 \
|
||||
|
|
Loading…
Reference in New Issue