[cfe-commits] r168562 - /cfe/trunk/test/Driver/darwin-sanitizer-ld.c
Alexey Samsonov
samsonov at google.com
Sun Nov 25 05:40:21 PST 2012
Author: samsonov
Date: Sun Nov 25 07:40:21 2012
New Revision: 168562
URL: http://llvm.org/viewvc/llvm-project?rev=168562&view=rev
Log:
Fix test case for linking with sanitizer opts added in r168428.
Modified:
cfe/trunk/test/Driver/darwin-sanitizer-ld.c
Modified: cfe/trunk/test/Driver/darwin-sanitizer-ld.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/darwin-sanitizer-ld.c?rev=168562&r1=168561&r2=168562&view=diff
==============================================================================
--- cfe/trunk/test/Driver/darwin-sanitizer-ld.c (original)
+++ cfe/trunk/test/Driver/darwin-sanitizer-ld.c Sun Nov 25 07:40:21 2012
@@ -6,7 +6,7 @@
// CHECK-ASAN: "{{.*}}ld{{(.exe)?}}"
// CHECK-ASAN: libclang_rt.asan_osx.a"
-// CHECK-ASAN: "-lstdc++"
+// CHECK-ASAN: stdc++
// CHECK-ASAN: "-framework" "CoreFoundation"
// RUN: %clang -no-canonical-prefixes -### -target x86_64-darwin \
@@ -26,7 +26,7 @@
// CHECK-UBSAN: "{{.*}}ld{{(.exe)?}}"
// CHECK-UBSAN: libclang_rt.ubsan_osx.a"
-// CHECK-UBSAN: "-lstdc++"
+// CHECK-UBSAN: stdc++
// RUN: %clang -no-canonical-prefixes -### -target x86_64-darwin \
// RUN: -fsanitize=bounds %s -o %t.o 2>&1 \
@@ -34,7 +34,6 @@
// CHECK-BOUNDS: "{{.*}}ld{{(.exe)?}}"
// CHECK-BOUNDS-NOT: libclang_rt.ubsan_osx.a"
-// CHECK-BOUNDS-NOT: "-lstdc++"
// RUN: %clang -no-canonical-prefixes -### -target x86_64-darwin \
// RUN: -fPIC -shared -fsanitize=undefined %s -o %t.so 2>&1 \
More information about the cfe-commits
mailing list