From: Evgeniy Stepanov Date: Tue, 26 Feb 2013 13:20:29 +0000 (+0000) Subject: Allow dash before "ld" in android driver test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d79f1f37b04703addb631ee11d266d3bfc3dd451;p=clang Allow dash before "ld" in android driver test. Sometimes android linker is "arm-linux-androideabi-ld", and not just "ld". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176088 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/asan-ld.c b/test/Driver/asan-ld.c index ebf915c68c..01b62a62a0 100644 --- a/test/Driver/asan-ld.c +++ b/test/Driver/asan-ld.c @@ -40,7 +40,7 @@ // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ // RUN: | FileCheck --check-prefix=CHECK-ANDROID %s // -// CHECK-ANDROID: "{{(.*[^-.0-9A-Z_a-z])?}}ld{{(.exe)?}}" +// CHECK-ANDROID: "{{(.*[^.0-9A-Z_a-z])?}}ld{{(.exe)?}}" // CHECK-ANDROID-NOT: "-lc" // CHECK-ANDROID: libclang_rt.asan-arm-android.so" // CHECK-ANDROID-NOT: "-lpthread" @@ -51,7 +51,7 @@ // RUN: -shared \ // RUN: | FileCheck --check-prefix=CHECK-ANDROID-SHARED %s // -// CHECK-ANDROID-SHARED: "{{(.*[^-.0-9A-Z_a-z])?}}ld{{(.exe)?}}" +// CHECK-ANDROID-SHARED: "{{(.*[^.0-9A-Z_a-z])?}}ld{{(.exe)?}}" // CHECK-ANDROID-SHARED-NOT: "-lc" // CHECK-ANDROID-SHARED: libclang_rt.asan-arm-android.so" // CHECK-ANDROID-SHARED-NOT: "-lpthread"