[clang] 87f6de7 - [clang testing] Fix a read-only source build system failure

David Zarzycki via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 05:08:21 PDT 2020


Author: David Zarzycki
Date: 2020-10-21T08:08:03-04:00
New Revision: 87f6de72bcd346bbbf468e9f9a0e9d1bbf0630a9

URL: https://github.com/llvm/llvm-project/commit/87f6de72bcd346bbbf468e9f9a0e9d1bbf0630a9
DIFF: https://github.com/llvm/llvm-project/commit/87f6de72bcd346bbbf468e9f9a0e9d1bbf0630a9.diff

LOG: [clang testing] Fix a read-only source build system failure

Added: 
    

Modified: 
    clang/test/CodeGen/basic-block-sections.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/basic-block-sections.c b/clang/test/CodeGen/basic-block-sections.c
index 3d68394bb78e..2eefbbfd21e1 100644
--- a/clang/test/CodeGen/basic-block-sections.c
+++ b/clang/test/CodeGen/basic-block-sections.c
@@ -6,7 +6,7 @@
 // RUN: %clang_cc1 -triple x86_64 -S -fbasic-block-sections=all -o - < %s | FileCheck %s --check-prefix=BB_WORLD --check-prefix=BB_ALL
 // RUN: %clang_cc1 -triple x86_64 -S -fbasic-block-sections=list=%S/Inputs/basic-block-sections.funcnames -o - < %s | FileCheck %s --check-prefix=BB_WORLD --check-prefix=BB_LIST
 // RUN: %clang_cc1 -triple x86_64 -S -fbasic-block-sections=all -funique-basic-block-section-names -o - < %s | FileCheck %s --check-prefix=UNIQUE
-// RUN: not %clang_cc1 -fbasic-block-sections=list= -emit-obj %s 2>&1 | FileCheck %s --check-prefix=ERROR
+// RUN: not %clang_cc1 -fbasic-block-sections=list= -emit-obj -o - %s 2>&1 | FileCheck %s --check-prefix=ERROR
 
 int world(int a) {
   if (a > 10)


        


More information about the cfe-commits mailing list