Remove remainder of migrated or obsolete tests from FrontendC and remove

the empty directory.

llvm-svn: 138181
This commit is contained in:
Eric Christopher 2011-08-20 01:04:56 +00:00
parent b4da65e631
commit 6582dfa7c5
8 changed files with 0 additions and 136 deletions

View File

@ -1,14 +0,0 @@
// RUN: %llvmgcc -S -O0 -g %s -o - | \
// RUN: llc --disable-fp-elim -o %t.s -O0
// RUN: grep id %t.s | grep DW_AT_name
@interface A
-(id) blah;
@end
@implementation A
-(id)blah {
int i = 1;
i++;
return i;
}
@end

View File

@ -1,5 +0,0 @@
/* RUN: %llvmgcc -w -x objective-c -S %s -o - | not grep {__ustring}
rdar://7589850 */
void *P = @"good\0bye";

View File

@ -1,17 +0,0 @@
// RUN: %llvmgcc -x objective-c -fwritable-strings -S %s -o - | FileCheck %s
// CHECK: @.str = private unnamed_addr constant
// CHECK: @.str1 = internal unnamed_addr global
// rdar://7634471
@class NSString;
@interface A
- (void)foo:(NSString*)msg;
- (void)bar:(const char*)msg;
@end
void func(A *a) {
[a foo:@"Hello world!"];
[a bar:"Goodbye world!"];
}

View File

@ -1,9 +0,0 @@
// RUN: %llvmgcc %s -S -g -o - | grep -v DW_TAG_member
// Interface P should not be a member of interface I in debug info.
@interface P
@end
@interface I : P
@end
void fn(I *iptr) {}

View File

@ -1,43 +0,0 @@
// RUN: %llvmgcc %s -m64 -S -o - | FileCheck %s
// Bitfield references must not touch memory outside of the enclosing
// struct. Radar 7639995
typedef signed char BOOL;
@protocol NSObject
- (id)init;
@end
@interface NSObject <NSObject> {}
@end
@interface IMAVChatParticipant : NSObject {
int _ardRole;
int _state;
int _avRelayStatus;
int _chatEndedReason;
int _chatError;
unsigned _sendingAudio:1;
unsigned _sendingVideo:1;
unsigned _sendingAuxVideo:1;
unsigned _audioMuted:1;
unsigned _videoPaused:1;
unsigned _networkStalled:1;
unsigned _isInitiator:1;
unsigned _isAOLInterop:1;
unsigned _isRecording:1;
unsigned _isUsingICE:1;
}
@end
@implementation IMAVChatParticipant
- (id) init {
self = [super init];
if ( self ) {
BOOL blah = (BOOL)1;
// We're expecting these three bitfield assignments will generate i8 stores.
_sendingAudio = (BOOL)1;
_isUsingICE = (BOOL)1;
_isUsingICE = blah;
// CHECK: store i8
// CHECK: store i8
// CHECK: store i8
}
return self;
}
@end

View File

@ -1,11 +0,0 @@
// RUN: %llvmgcc -S -w -m64 -mmacosx-version-min=10.5 %s -o - | \
// RUN: llc --disable-fp-elim -o - | FileCheck %s
// XFAIL: *
// XTARGET: darwin
@interface Foo
@end
Foo *FooName = @"FooBar";
// CHECK: .section __TEXT,__cstring,cstring_literals
// CHECK-NEXT: L_.str:

View File

@ -1,32 +0,0 @@
// RUN: %llvmgcc -x objective-c -S -fobjc-abi-version=2 %s -o /dev/null
// XFAIL: *
// XTARGET: darwin
typedef unsigned int UInt_t;
@interface A
{
@protected
UInt_t _f1;
}
@end
@interface B : A { }
@end
@interface A ()
@property (assign) UInt_t f1;
@end
@interface B ()
@property (assign) int x;
@end
@implementation B
@synthesize x;
- (id) init
{
_f1 = 0;
return self;
}
@end

View File

@ -1,5 +0,0 @@
load_lib llvm.exp
if [ llvm_gcc_supports objc ] then {
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{m}]]
}