diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-05-30 16:36:48 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-05-30 16:36:48 +0000 |
commit | 2460a36f53d876fc7ddbb8242e5549103ca1cc40 (patch) | |
tree | 1a1ec8df2c2c13af7d11f5b50929df46bc0ca432 /clang/test/CodeGen/cfstring.c | |
parent | f7444e645beec5f9aa7d52f28539affbcfee6f38 (diff) | |
download | bcm5719-llvm-2460a36f53d876fc7ddbb8242e5549103ca1cc40.tar.gz bcm5719-llvm-2460a36f53d876fc7ddbb8242e5549103ca1cc40.zip |
test: add explicit targets for some tests
These tests currently expect MachO section names and do not provide a target.
Explicitly provide one.
llvm-svn: 271212
Diffstat (limited to 'clang/test/CodeGen/cfstring.c')
-rw-r--r-- | clang/test/CodeGen/cfstring.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/CodeGen/cfstring.c b/clang/test/CodeGen/cfstring.c index 97d39b6a659..f0862b99b43 100644 --- a/clang/test/CodeGen/cfstring.c +++ b/clang/test/CodeGen/cfstring.c @@ -1,9 +1,11 @@ -// RUN: %clang_cc1 -emit-llvm %s -o %t +// REQUIRES: x86-registered-target + +// RUN: %clang_cc1 -triple x86_64-macho -emit-llvm %s -o %t // <rdar://problem/10657500>: Check that the backing store of CFStrings are // constant with the -fwritable-strings flag. // -// RUN: %clang_cc1 -fwritable-strings -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-macho -fwritable-strings -emit-llvm %s -o - | FileCheck %s // // CHECK: @.str = private unnamed_addr constant [14 x i8] c"Hello, World!\00", section "__TEXT,__cstring,cstring_literals", align 1 // CHECK: @.str.1 = private unnamed_addr constant [7 x i8] c"yo joe\00", section "__TEXT,__cstring,cstring_literals", align 1 |