forked from OSchip/llvm-project
Explicitly specify output file.
Otherwise the test fails when LLVM sources are on a read-only partition. llvm-svn: 322082
This commit is contained in:
parent
c5e0b63e56
commit
bb3c2432fa
|
@ -1,5 +1,5 @@
|
|||
// RUN: not %clang_cc1 -fsyntax-only -S -emit-llvm -triple i386-unknown-unknown -fcf-protection=return %s 2>&1 | FileCheck %s --check-prefix=RETURN
|
||||
// RUN: not %clang_cc1 -fsyntax-only -S -emit-llvm -triple i386-unknown-unknown -fcf-protection=branch %s 2>&1 | FileCheck %s --check-prefix=BRANCH
|
||||
// RUN: not %clang_cc1 -fsyntax-only -S -emit-llvm -o %t -triple i386-unknown-unknown -fcf-protection=return %s 2>&1 | FileCheck %s --check-prefix=RETURN
|
||||
// RUN: not %clang_cc1 -fsyntax-only -S -emit-llvm -o %t -triple i386-unknown-unknown -fcf-protection=branch %s 2>&1 | FileCheck %s --check-prefix=BRANCH
|
||||
|
||||
// RETURN: error: option 'cf-protection=return' cannot be specified without '-mshstk'
|
||||
// BRANCH: error: option 'cf-protection=branch' cannot be specified without '-mibt'
|
||||
|
|
Loading…
Reference in New Issue