mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 19:03:50 +00:00
Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). Yes, dragonegg supports objective-c (poorly though). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120163 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d1627e331f
commit
ce60e8423e
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -c %s -o /dev/null
|
||||
// RUN: %llvmgcc -S %s -o /dev/null
|
||||
|
||||
@interface B
|
||||
-(int)bar;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -c %s -fobjc-gc -o /dev/null
|
||||
// RUN: %llvmgcc -S %s -fobjc-gc -o /dev/null
|
||||
typedef int NSInteger;
|
||||
typedef struct _NSRect {
|
||||
int origin;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -c -w -m64 -mmacosx-version-min=10.5 %s -o /dev/null
|
||||
// RUN: %llvmgcc -S -w -m64 -mmacosx-version-min=10.5 %s -o /dev/null
|
||||
// XFAIL: *
|
||||
// XTARGET: darwin
|
||||
@class NSDictionary, DSoBuffer, DSoDirectory, NSMutableArray;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -x objective-c -c %s -o /dev/null
|
||||
// RUN: %llvmgcc -x objective-c -S %s -o /dev/null
|
||||
@protocol O
|
||||
@end
|
||||
@interface O < O > {
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -x objective-c -c %s -o /dev/null -fobjc-gc
|
||||
// RUN: %llvmgcc -x objective-c -S %s -o /dev/null -fobjc-gc
|
||||
// rdar://5541393
|
||||
|
||||
typedef unsigned int NSUInteger;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -w -x objective-c -c %s -o /dev/null
|
||||
// RUN: %llvmgcc -w -x objective-c -S %s -o /dev/null
|
||||
|
||||
@interface Object {
|
||||
@public
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -x objective-c -m64 -c %s -o /dev/null
|
||||
// RUN: %llvmgcc -x objective-c -m64 -S %s -o /dev/null
|
||||
|
||||
@interface A
|
||||
@end
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -c %s -o /dev/null
|
||||
// RUN: %llvmgcc -S %s -o /dev/null
|
||||
// rdar://6394879
|
||||
|
||||
@interface bork
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* RUN: %llvmgcc -w -x objective-c -c %s -o /dev/null -pedantic-errors
|
||||
/* RUN: %llvmgcc -w -x objective-c -S %s -o /dev/null -pedantic-errors
|
||||
rdar://6551276 */
|
||||
|
||||
void foo(const unsigned short *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: %llvmgcc -S %s -fobjc-abi-version=2 -emit-llvm -o %t
|
||||
// RUN: %llvmgcc -S %s -fobjc-abi-version=2 -o %t
|
||||
// RUN: grep {OBJC_CLASS_\\\$_A.*section.*__DATA, __objc_data.*align} %t
|
||||
// XTARGET: darwin
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user