From: Alexander Potapenko Date: Tue, 22 Jan 2013 09:27:00 +0000 (+0000) Subject: [ASan] Fixed darwin-sanitizer-ld.c to match the flags after the switch to the dynamic... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a94c1ea2d9ee397cc9d75045117a39e8f62235d;p=clang [ASan] Fixed darwin-sanitizer-ld.c to match the flags after the switch to the dynamic runtime. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173137 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/darwin-sanitizer-ld.c b/test/Driver/darwin-sanitizer-ld.c index f57c588401..e4134c91e8 100644 --- a/test/Driver/darwin-sanitizer-ld.c +++ b/test/Driver/darwin-sanitizer-ld.c @@ -5,9 +5,8 @@ // RUN: | FileCheck --check-prefix=CHECK-ASAN %s // CHECK-ASAN: "{{.*}}ld{{(.exe)?}}" -// CHECK-ASAN: libclang_rt.asan_osx.a" +// CHECK-ASAN: libclang_rt.asan_osx_dynamic.dylib" // CHECK-ASAN: stdc++ -// CHECK-ASAN: "-framework" "CoreFoundation" // RUN: %clang -no-canonical-prefixes -### -target x86_64-darwin \ // RUN: -fPIC -shared -fsanitize=address %s -o %t.so 2>&1 \ @@ -15,10 +14,10 @@ // CHECK-DYN-ASAN: "{{.*}}ld{{(.exe)?}}" // CHECK-DYN-ASAN: "-dylib" -// CHECK-DYN-ASAN-NOT: libclang_rt.asan_osx.a +// CHECK-DYN-ASAN-NOT: libclang_rt.asan_osx_dynamic.dylib // CHECK-DYN-ASAN: "-undefined" // CHECK-DYN-ASAN: "dynamic_lookup" -// CHECK-DYN-ASAN-NOT: libclang_rt.asan_osx.a +// CHECK-DYN-ASAN-NOT: libclang_rt.asan_osx_dynamic.dylib // RUN: %clang -no-canonical-prefixes -### -target x86_64-darwin \ // RUN: -fsanitize=undefined %s -o %t.o 2>&1 \