]> granicus.if.org Git - clang/commitdiff
Allow builtins for Cross-DSO CFI on Android
authorPetr Hosek <phosek@chromium.org>
Tue, 20 Mar 2018 00:56:08 +0000 (00:56 +0000)
committerPetr Hosek <phosek@chromium.org>
Tue, 20 Mar 2018 00:56:08 +0000 (00:56 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327932 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/sanitizer-ld.c

index 107cf9d9ba439ed1267e3265b1b72f175f4a87d7..b51a360a6755fcb6dd8850f18ec2f2b7f4dfd22b 100644 (file)
 // 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 \