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: http://review.tizen.org/git/?a=commitdiff_plain;h=015333f88c21673a8d8958242ef24920dd0506a9;p=platform%2Fupstream%2Fllvm.git [ASan] Fixed darwin-sanitizer-ld.c to match the flags after the switch to the dynamic runtime. llvm-svn: 173137 --- 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 \