From f406b07a179c5dd9698c312c8b01933ef61506c6 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Tue, 1 Mar 2016 01:24:54 +0000 Subject: [PATCH] Fix the testcase in r262282 -bitcode_bundle is only passed to the darwin ld64 linker and it is only implemented there. Remove the check on the linker flag. llvm-svn: 262286 --- clang/test/Driver/embed-bitcode.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/clang/test/Driver/embed-bitcode.c b/clang/test/Driver/embed-bitcode.c index 6ac0d54..20f3aa8 100644 --- a/clang/test/Driver/embed-bitcode.c +++ b/clang/test/Driver/embed-bitcode.c @@ -2,16 +2,14 @@ // CHECK: clang // CHECK: clang -// RUN: %clang %s -fembed-bitcode 2>&1 -### | FileCheck %s -check-prefix=CHECK-CC +// RUN: %clang %s -c -fembed-bitcode 2>&1 -### | FileCheck %s -check-prefix=CHECK-CC // CHECK-CC: -cc1 // CHECK-CC: -emit-llvm-bc // CHECK-CC: -cc1 // CHECK-CC: -emit-obj // CHECK-CC: -fembed-bitcode -// CHECK-CC: ld -// CHECK-CC: -bitcode_bundle -// RUN: %clang %s -save-temps -fembed-bitcode 2>&1 -### | FileCheck %s -check-prefix=CHECK-SAVE-TEMP +// RUN: %clang %s -c -save-temps -fembed-bitcode 2>&1 -### | FileCheck %s -check-prefix=CHECK-SAVE-TEMP // CHECK-SAVE-TEMP: -cc1 // CHECK-SAVE-TEMP: -E // CHECK-SAVE-TEMP: -cc1 @@ -20,8 +18,6 @@ // CHECK-SAVE-TEMP: -S // CHECK-SAVE-TEMP: -fembed-bitcode // CHECK-SAVE-TEMP: -cc1as -// CHECK-SAVE-TEMP: ld -// CHECK-SAVE-TEMP: -bitcode_bundle // RUN: %clang -c %s -flto -fembed-bitcode 2>&1 -### | FileCheck %s -check-prefix=CHECK-LTO // CHECK-LTO: -cc1 -- 2.7.4