From 015333f88c21673a8d8958242ef24920dd0506a9 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Tue, 22 Jan 2013 09:27:00 +0000 Subject: [PATCH] [ASan] Fixed darwin-sanitizer-ld.c to match the flags after the switch to the dynamic runtime. llvm-svn: 173137 --- clang/test/Driver/darwin-sanitizer-ld.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/clang/test/Driver/darwin-sanitizer-ld.c b/clang/test/Driver/darwin-sanitizer-ld.c index f57c588..e4134c9 100644 --- a/clang/test/Driver/darwin-sanitizer-ld.c +++ b/clang/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 \ -- 2.7.4