r262286 - Fix the testcase in r262282
Steven Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 29 17:24:54 PST 2016
Author: steven_wu
Date: Mon Feb 29 19:24:54 2016
New Revision: 262286
URL: http://llvm.org/viewvc/llvm-project?rev=262286&view=rev
Log:
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.
Modified:
cfe/trunk/test/Driver/embed-bitcode.c
Modified: cfe/trunk/test/Driver/embed-bitcode.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/embed-bitcode.c?rev=262286&r1=262285&r2=262286&view=diff
==============================================================================
--- cfe/trunk/test/Driver/embed-bitcode.c (original)
+++ cfe/trunk/test/Driver/embed-bitcode.c Mon Feb 29 19:24:54 2016
@@ -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
More information about the cfe-commits
mailing list