[llvm-commits] [llvm] r120163 - in /llvm/trunk/test/FrontendObjC: 2007-04-03-ObjcEH.m 2007-05-02-Strong.m 2007-09-25-EH.m 2007-10-18-ProDescriptor.m 2007-10-23-GC-WriteBarrier.m 2008-10-3-EhValue.m 2008-11-12-Metadata.m 2008-11-25-Blocks.m 2009-02-05-VolatileProp.m 2009-04-14-AsmSection.m

Duncan Sands baldrick at free.fr
Thu Nov 25 13:46:07 PST 2010


Author: baldrick
Date: Thu Nov 25 15:46:07 2010
New Revision: 120163

URL: http://llvm.org/viewvc/llvm-project?rev=120163&view=rev
Log:
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).

Modified:
    llvm/trunk/test/FrontendObjC/2007-04-03-ObjcEH.m
    llvm/trunk/test/FrontendObjC/2007-05-02-Strong.m
    llvm/trunk/test/FrontendObjC/2007-09-25-EH.m
    llvm/trunk/test/FrontendObjC/2007-10-18-ProDescriptor.m
    llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m
    llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.m
    llvm/trunk/test/FrontendObjC/2008-11-12-Metadata.m
    llvm/trunk/test/FrontendObjC/2008-11-25-Blocks.m
    llvm/trunk/test/FrontendObjC/2009-02-05-VolatileProp.m
    llvm/trunk/test/FrontendObjC/2009-04-14-AsmSection.m

Modified: llvm/trunk/test/FrontendObjC/2007-04-03-ObjcEH.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2007-04-03-ObjcEH.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2007-04-03-ObjcEH.m (original)
+++ llvm/trunk/test/FrontendObjC/2007-04-03-ObjcEH.m Thu Nov 25 15:46:07 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -c %s -o /dev/null
+// RUN: %llvmgcc -S %s -o /dev/null
 
 @interface B 
 -(int)bar;

Modified: llvm/trunk/test/FrontendObjC/2007-05-02-Strong.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2007-05-02-Strong.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2007-05-02-Strong.m (original)
+++ llvm/trunk/test/FrontendObjC/2007-05-02-Strong.m Thu Nov 25 15:46:07 2010
@@ -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;

Modified: llvm/trunk/test/FrontendObjC/2007-09-25-EH.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2007-09-25-EH.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2007-09-25-EH.m (original)
+++ llvm/trunk/test/FrontendObjC/2007-09-25-EH.m Thu Nov 25 15:46:07 2010
@@ -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;

Modified: llvm/trunk/test/FrontendObjC/2007-10-18-ProDescriptor.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2007-10-18-ProDescriptor.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2007-10-18-ProDescriptor.m (original)
+++ llvm/trunk/test/FrontendObjC/2007-10-18-ProDescriptor.m Thu Nov 25 15:46:07 2010
@@ -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 > {

Modified: llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m (original)
+++ llvm/trunk/test/FrontendObjC/2007-10-23-GC-WriteBarrier.m Thu Nov 25 15:46:07 2010
@@ -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;

Modified: llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.m (original)
+++ llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.m Thu Nov 25 15:46:07 2010
@@ -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

Modified: llvm/trunk/test/FrontendObjC/2008-11-12-Metadata.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2008-11-12-Metadata.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2008-11-12-Metadata.m (original)
+++ llvm/trunk/test/FrontendObjC/2008-11-12-Metadata.m Thu Nov 25 15:46:07 2010
@@ -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

Modified: llvm/trunk/test/FrontendObjC/2008-11-25-Blocks.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2008-11-25-Blocks.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2008-11-25-Blocks.m (original)
+++ llvm/trunk/test/FrontendObjC/2008-11-25-Blocks.m Thu Nov 25 15:46:07 2010
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -c %s -o /dev/null
+// RUN: %llvmgcc -S %s -o /dev/null
 // rdar://6394879
 
 @interface bork

Modified: llvm/trunk/test/FrontendObjC/2009-02-05-VolatileProp.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2009-02-05-VolatileProp.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2009-02-05-VolatileProp.m (original)
+++ llvm/trunk/test/FrontendObjC/2009-02-05-VolatileProp.m Thu Nov 25 15:46:07 2010
@@ -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 *);

Modified: llvm/trunk/test/FrontendObjC/2009-04-14-AsmSection.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2009-04-14-AsmSection.m?rev=120163&r1=120162&r2=120163&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/2009-04-14-AsmSection.m (original)
+++ llvm/trunk/test/FrontendObjC/2009-04-14-AsmSection.m Thu Nov 25 15:46:07 2010
@@ -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
 





More information about the llvm-commits mailing list