]> granicus.if.org Git - clang/commitdiff
Tests use the new clang.
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 14 Dec 2009 17:13:18 +0000 (17:13 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 14 Dec 2009 17:13:18 +0000 (17:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91290 91177308-0d34-0410-b5e6-96231b3b80d8

102 files changed:
test/CodeGenObjC/2008-10-23-invalid-icmp.m
test/CodeGenObjC/PR4541.m
test/CodeGenObjC/PR4894-recursive-debug-crash.m
test/CodeGenObjC/bitfield-1.m
test/CodeGenObjC/bitfield-ivar-metadata.m
test/CodeGenObjC/bitfield-ivar-offsets.m
test/CodeGenObjC/blocks-1.m
test/CodeGenObjC/blocks-2.m
test/CodeGenObjC/blocks-3.m
test/CodeGenObjC/blocks.m
test/CodeGenObjC/category-super-class-meth.m
test/CodeGenObjC/class-getter-dotsyntax.m
test/CodeGenObjC/class-type.m
test/CodeGenObjC/compatibility-alias.m
test/CodeGenObjC/constant-strings.m
test/CodeGenObjC/continuation-class.m
test/CodeGenObjC/deadcode_strip_used_var.m
test/CodeGenObjC/debug-info-linkagename.m
test/CodeGenObjC/dot-syntax-1.m
test/CodeGenObjC/dot-syntax.m
test/CodeGenObjC/encode-test-1.m
test/CodeGenObjC/encode-test-2.m
test/CodeGenObjC/encode-test-3.m
test/CodeGenObjC/encode-test-4.m
test/CodeGenObjC/encode-test-5.m
test/CodeGenObjC/encode-test.m
test/CodeGenObjC/for-in.m
test/CodeGenObjC/forward-class-impl-metadata.m
test/CodeGenObjC/hidden-visibility.m
test/CodeGenObjC/hidden.m
test/CodeGenObjC/id-isa-codegen.m
test/CodeGenObjC/image-info.m
test/CodeGenObjC/implicit-objc_msgSend.m
test/CodeGenObjC/implicit-property.m
test/CodeGenObjC/interface-layout-64.m
test/CodeGenObjC/interface.m
test/CodeGenObjC/ivar-layout-64-bitfields.m
test/CodeGenObjC/ivar-layout-64.m
test/CodeGenObjC/ivar-layout-no-optimize.m
test/CodeGenObjC/ivars.m
test/CodeGenObjC/link-errors.m
test/CodeGenObjC/message-arrays.m
test/CodeGenObjC/messages-2.m
test/CodeGenObjC/messages.m
test/CodeGenObjC/metadata-symbols-32.m
test/CodeGenObjC/metadata-symbols-64.m
test/CodeGenObjC/metadata_symbols.m
test/CodeGenObjC/missing-atend-metadata.m
test/CodeGenObjC/newproperty-nested-synthesis-1.m
test/CodeGenObjC/no-category-class.m
test/CodeGenObjC/non-lazy-classes.m
test/CodeGenObjC/objc-align.m
test/CodeGenObjC/objc-assign-ivar.m
test/CodeGenObjC/objc-gc-aggr-assign.m
test/CodeGenObjC/objc-read-weak-byref.m
test/CodeGenObjC/objc2-assign-global.m
test/CodeGenObjC/objc2-ivar-assign.m
test/CodeGenObjC/objc2-new-gc-api-strongcast.m
test/CodeGenObjC/objc2-no-strong-cast.m
test/CodeGenObjC/objc2-no-write-barrier.m
test/CodeGenObjC/objc2-property-encode.m
test/CodeGenObjC/objc2-protocol-enc.m
test/CodeGenObjC/objc2-retain-codegen.m
test/CodeGenObjC/objc2-strong-cast-1.m
test/CodeGenObjC/objc2-strong-cast.m
test/CodeGenObjC/objc2-weak-assign.m
test/CodeGenObjC/objc2-weak-compare.m
test/CodeGenObjC/objc2-weak-import-attribute.m
test/CodeGenObjC/objc2-weak-ivar-debug.m
test/CodeGenObjC/objc2-weak-ivar.m
test/CodeGenObjC/objc2-write-barrier-2.m
test/CodeGenObjC/objc2-write-barrier-3.m
test/CodeGenObjC/objc2-write-barrier-4.m
test/CodeGenObjC/objc2-write-barrier-5.m
test/CodeGenObjC/objc2-write-barrier.m
test/CodeGenObjC/object-incr-decr-1.m
test/CodeGenObjC/overloadable.m
test/CodeGenObjC/predefined-expr.m
test/CodeGenObjC/property-aggr-type.m
test/CodeGenObjC/property-agrr-getter.m
test/CodeGenObjC/property-complex.m
test/CodeGenObjC/property-getter-dot-syntax.m
test/CodeGenObjC/property-incr-decr-1.m
test/CodeGenObjC/property-list-in-class.m
test/CodeGenObjC/property-setter-attr.m
test/CodeGenObjC/property.m
test/CodeGenObjC/protocol-in-extended-class.m
test/CodeGenObjC/protocol-property-synth.m
test/CodeGenObjC/protocols-lazy.m
test/CodeGenObjC/protocols.m
test/CodeGenObjC/runtime-fns.m
test/CodeGenObjC/sel-as-builtin-type.m
test/CodeGenObjC/super-classmethod-category.m
test/CodeGenObjC/super-dotsyntax-property.m
test/CodeGenObjC/super-message-fragileabi.m
test/CodeGenObjC/synchronized.m
test/CodeGenObjC/synthesize_ivar-cont-class.m
test/CodeGenObjC/synthesize_ivar.m
test/CodeGenObjC/try.m
test/CodeGenObjC/undefined-protocol.m
test/CodeGenObjC/unname-bf-metadata.m
test/CodeGenObjC/variadic-sends.m

index 2c58b921767513693f431dd60f4f289227da43e2..65fbf9bc092c0d7d3194f6576c58bc481c22b962 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @protocol P @end
 
index 9a651162c1e1a6aa603022767a4f4602015532b2..2d2adeb3d88e36fe19cb0d799cd43d94105b179c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -o %t -w  -g %s
+// RUN: clang -cc1 -o %t -w  -g %s
 
 
 @class NSString;
index d7379111c11a2a95d1adf78d54fef66e98139ff5..91ae9b3c870fb5836ad78abfdc856554efe81649 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -g -emit-llvm %s -o - | FileCheck %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -g -emit-llvm %s -o - | FileCheck %s
 // PR4894
 //
 // This test is actually just making sure we can generate the debug info for the
index 3f605ebc4e24d4bf0f9711c115ab608adabdc76a..107361f9975dca7a1690aed0a0cd572b86046098 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s
 
 @interface Object
 - (id) alloc;
index f720bcc5b5b630484d79707afb2c254d4a20dd0f..52fd3098bacf618d4db5089bd2f51780e12e0b98 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface INTF
 {
index f4bc39d4fb057bdf948d2e1dca68c9f9fc7eef51..2a8c31cde757d80a2e8fff84bc236567ea80f354 100644 (file)
@@ -1,5 +1,5 @@
 // RUNX: llvm-gcc -m64  -emit-llvm -S -o %t %s &&
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUN: grep -F '@"OBJC_IVAR_$_I0._b0" = global i64 0, section "__DATA, __objc_const", align 8' %t
 // RUN: grep -F '@"OBJC_IVAR_$_I0._b1" = global i64 0, section "__DATA, __objc_const", align 8' %t
 // RUN: grep -F '@"OBJC_IVAR_$_I0._b2" = global i64 1, section "__DATA, __objc_const", align 8' %t
index ee1b97801b429946dd6daceb799370ee7206841b..c1b001b66306f7e187b37050177a5510886c5fa3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
+// RUN: clang -cc1 %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
 // RUN: grep "_Block_object_dispose" %t | count 6
 // RUN: grep "__copy_helper_block_" %t | count 4
 // RUN: grep "__destroy_helper_block_" %t | count 4
index bb7af99416f35d2e47b32a56a0dd29147a983312..4949b45cddeee008d0ad91818568c3302ca02600 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
+// RUN: clang -cc1 %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
 // RUN: grep "objc_assign_strongCast" %t | count 2
 
 // This should generate a strong cast.
index 16da55ed6322c8a06bb3d990da536e4f04cefeb1..279f21a528224949ba04c3bb5f71a66aa699f6a8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -fblocks -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -fblocks -o %t %s
 // RUN: grep 'object_assign' %t | count 11
 // RUN: grep 'object_dispose' %t | count 29
 
index def4c9dd7a70eaa4ce90ab0ed84c22494299ac4d..536d158046b0b6c676ccd51ae0a4dd540de80f86 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -fblocks -o %t %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -fblocks -o %t %s
 // rdar://6676764
 
 struct S {
index ce27e87bbf501991d15b2904ba8947e5a912630f..595d2af2985770e8029ed5cc9c93d63618d75de1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface BASE
 + (int) BaseMeth;
index 1e1a7596795efc8a698527b55d194a68b21d8a8b..599e6e7154aa42dd8ca124fbb860fae3255d978e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface Test { }
 + (Test *)crash;
index d63f8420d2807939419e4563dd39fda3bac6c7c3..45d7a8671ba7d6297a80e3f17fe6ae8829f6ef82 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o - %s
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -o - %s
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -o - %s
+// RUN: clang -cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -o - %s
 
 
 @interface I0 {
index 11e5a27ab7135b5edd873f878b1e5990ecd949c6..aca2745159407552c728e7a2bade17dbacf2d6cd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface Int1 @end
 
index 8204adc518866d2b0b31c6a7d9a8c3ab20d39c6c..08d30ba20f84f0125ae01b1ce5311fdcf3a02327 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -emit-llvm -o %t %s
-// RUN: clang-cc -fgnu-runtime -emit-llvm -o %t %s && grep NXConstantString %t | count 1
-// RUN: clang-cc -fgnu-runtime -fconstant-string-class NSConstantString -emit-llvm -o %t %s && grep NSConstantString %t | count 1
+// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: clang -cc1 -fgnu-runtime -emit-llvm -o %t %s && grep NXConstantString %t | count 1
+// RUN: clang -cc1 -fgnu-runtime -fconstant-string-class NSConstantString -emit-llvm -o %t %s && grep NSConstantString %t | count 1
 
 id a = @"Hello World!";
 
index c22231063afa70fa8fbfcdc5d79f6763a9298d1d..9ee61028322e7bc71d84f9f616b16eecc4678c8b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface Object
 - (id)new;
index d2548fdec85b8d8d97dd431d7b73e58005cdb054..679d6da661018ae32ed0e0c959466bf31cd32e20 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc %s -emit-llvm -o %t -triple i386-apple-darwin10
+// RUN: clang -cc1 %s -emit-llvm -o %t -triple i386-apple-darwin10
 // RUN: grep "llvm.used" %t | count 1
-// RUN: clang-cc %s -emit-llvm -o %t -triple x86_64-apple-darwin10
+// RUN: clang -cc1 %s -emit-llvm -o %t -triple x86_64-apple-darwin10
 // RUN: grep "llvm.used" %t | count 1 
 
 
index bda98eec49b5fdb5f54ea2a829fd82588cf5a5b3..bace9db1b82422a3211fa3d1db13e2dfe2f3cee2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc  -g -S -o %t %s
+// RUN: clang -cc1  -g -S -o %t %s
 // RUN: not grep 001 %t
 
 @interface F 
index 18b972f04850a42cfbedf32d0bc0c43fa7d7f504..96d4cdf4b5008a4eecc954fab0de933f4df8b1e9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 int printf(const char *, ...);
 
index 01b71898a7a743b4e6e6a71d845cd71b54404bfa..5a40fd8726d2c2bc34d11789935cbe83f1f4ce43 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 int printf(const char *, ...);
 
index 8e6fd861f9ccfddd74354a40d8a850f1d41eb4d5..dd4867cfb79e68ce08b2a8a6797a39e7072b3ea4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "{Base=b2b3b4b5}" %t | count 1
 // RUN: grep -e "{Derived=b2b3b4b5b5b4b3}" %t | count 1
 
index b53ea6677ebd77f33767a877395b959794069df0..6c20c424058b9e2c62df2d8d6067ff9266d348e4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "@\\\22<X>\\\22" %t
 // RUN: grep -e "@\\\22<X><Y>\\\22" %t
 // RUN: grep -e "@\\\22<X><Y><Z>\\\22" %t
index 79a024fe1f7b9b85fee55959623b5481b3a67833..3706ab6a26838b642d02df7460ee476aa1158f7b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "\^i" %t | count 1
 // RUN: grep -e "\[0i\]" %t | count 1
 
index 90b300200a066cf0b028358a1bb314a4e25d2a7c..149205cdecaa97c56810e89a013401e0bb046cd5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s -O2 | grep "ret i32 1"
+// RUN: clang -cc1 -emit-llvm -o - %s -O2 | grep "ret i32 1"
 
 int a() {
   return @encode(int) == @encode(int);
index d5ec9b3909c747aa7b8ffef0958ae9bbcc78afeb..a12d900589649f7be365839ec8a7867d16dc5d63 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=x86_64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple=x86_64-apple-darwin9 -emit-llvm -o %t %s
 
 // RUN: grep ji.00 %t | count 1
 char *a = @encode(_Complex int);
index db8470b6bb2a19833b306211c61f13eba33ef3c4..060161d1a998d2f14d7587a2be58b0714272bb7b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "\^{Innermost=CC}" %t | count 1
 // RUN: grep -e "{Derived=#ib32b8b3b8sb16b8b8b2b8ccb6}" %t | count 1
 // RUN: grep -e "{B1=#@c}" %t | count 1
index 434ff796b33530b932068cd1bb4c93649dcf2ba3..fab0ee47b501c2985746efe53377476b2fc4784e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: clang -cc1 -emit-llvm %s -o %t
 
 void p(const char*, ...);
 
index 5dfddde8948675e23b3375d03dd2fe608d034c7a..fae745b1ff8406b0bd0fc16686b2f8ead63061d4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 
 @interface BASE  {
 @private
index 8596b41a79a775e44c67d1acb53da182ae707dd3..e265e6f754e8b126de721a1b156390b98a07a03f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fvisibility hidden -fobjc-nonfragile-abi -emit-llvm -o - %s | FileCheck %s
+// RUN: clang -cc1 -fvisibility hidden -fobjc-nonfragile-abi -emit-llvm -o - %s | FileCheck %s
 // CHECK: @"OBJC_IVAR_$_I.P" = hidden
 // CHECK: @"OBJC_CLASS_$_I" = hidden
 // CHECK: @"OBJC_METACLASS_$_I" = hidden
index 0c0dbb3aa50ee08bd4fb5c31df876a25cbef15c7..502aaebb696434a2e8724639828a5a7d3a9e6aff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 __attribute__((visibility("hidden")))
 @interface Hidden
index 9e8c7f6f79872d8e47b05f4bb7582bf02d6bf27d..73b21b0c652de3bb717bc3fd96e6ff71fd416ff2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 typedef struct objc_class *Class;
 
index c16f11d8bc015f1f1b548e1d2ab7265e498c1eb4..8167ef68ca2e8e16251fae4830be5e09b107528a 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang-cc -triple x86_64-apple-darwin-10 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin-10 -emit-llvm -o %t %s
 // RUN: grep -F '@"\01L_OBJC_IMAGE_INFO" = internal constant [2 x i32] [i32 0, i32 16], section "__OBJC, __image_info,regular"' %t
index f2fba58f4b57923a7b86bfeed48ae01d86a21f45..25d0b8f66984c89a2bed3b06da7a1470e0b542fb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -F 'declare i8* @objc_msgSend(...)' %t
 
 typedef struct objc_selector *SEL;
index 206d496252d87579e40e45d479afab5dcb30b059..9d17d87451426348da6b783e02ac19c948715ecc 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s
-// RUNX: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUNX: clang -cc1 -emit-llvm -o %t %s
 
 @interface A
  -(void) setOk:(int)arg;
index ac29839a792020198d365bb0f891e73656838f58..a8a7c6310863956db56e4eacc9a8e258b74781e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUNX: llvm-gcc -m64 -emit-llvm -S -o %t %s &&
 
 // RUN: grep '@"OBJC_IVAR_$_I3._iv2" = global i64 8, section "__DATA, __objc_const", align 8' %t
index 543c5354c372b6625037f0aaf1cb6b48ca18737a..37efed09605031c37c52e65030c3aa98a10ef251 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -O3 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -O3 -emit-llvm -o %t %s
 // RUN: grep 'ret i32 385' %t
 
 void *alloca();
index cb5611835f627090055085d99703abdd66c46a2a..9a7d4aa8d3a6cfc5337ae77d70ae670c65c67503 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 @interface I
 {
   struct {
index 19057531692887b15d0af1d12a60c36dc0cd85bb..833f6dd0724550caae1789fa8fd0502865a7b18b 100644 (file)
@@ -1,5 +1,5 @@
 // RUNX: llvm-gcc -m64 -fobjc-gc -emit-llvm -S -o %t %s &&
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep '@"\\01L_OBJC_CLASS_NAME_.*" = internal global .* c"A\\00"' %t
 // RUN: grep '@"\\01L_OBJC_CLASS_NAME_.*" = internal global .* c"\\11q\\10\\00"' %t
 // RUN: grep '@"\\01L_OBJC_CLASS_NAME_.*" = internal global .* c"!q\\00"' %t
index 2e04d7eaecb1b803a4af8bd8aa4432c03987e5d5..54c37e0ac0565de500a695e57ba6ad047bad30f1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-gc -triple x86_64-apple-darwin -O0 -S %s -o %t-64.s
+// RUN: clang -cc1 -fobjc-gc -triple x86_64-apple-darwin -O0 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
 
 @interface NSObject {
index c7fcafd5353d36dc0ead0d271cccf53369b136f9..0f6e7ca91612e743f47440e636d2db1ede0e9cb1 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -o - %s
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -o - %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -o - %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s
 
 // rdar://6800926
 @interface ITF {
index 4944f1b0782a05a9d935d59e55e2d9a204099ca2..5ab66ae4595021b90273ce32f0e34a838b5b0f02 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep '.lazy_reference .objc_class_name_A' %t | count 1
 // RUN: grep '.lazy_reference .objc_class_name_Unknown' %t | count 1
 // RUN: grep '.lazy_reference .objc_class_name_Protocol' %t | count 1
-// RUN: clang-cc -triple i386-apple-darwin9 -DWITH_IMPL -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -DWITH_IMPL -emit-llvm -o %t %s
 // RUN: grep '.lazy_reference .objc_class_name_Root' %t | count 1
 
 @interface Root
index 1ae6bf648c8a808149e223809a3e260a900d305a..47d010f2f502e158e1e20aa19c408374c481e217 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 void f0(id a) {
   // This should have an implicit cast
index 87f7cc6cc14afe9981b8ae9517a6e71dc823885e..55bc23324996a481f389562c4865b79381527d31 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 int printf(const char *, ...);
 
index ac3b81dead62412d94566a9e4e410c7f2242620b..113486dde4520b5f9b8362ac12e1d583f45eec61 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 // RUN: grep "objc_msgSend" %t | count 6
-// RUN: clang-cc -fgnu-runtime -emit-llvm -o %t %s
+// RUN: clang -cc1 -fgnu-runtime -emit-llvm -o %t %s
 // RUN: grep "objc_msg_lookup" %t | count 6
-// RUN: clang-cc -fgnu-runtime -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -fgnu-runtime -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUN: grep "objc_msg_lookup_sender" %t | count 6
 
 typedef struct {
index 288fa8c65a80b21193fd8ea38034bb6bace80354..4956cdb8e4c33de61e7bc158020514b185bbd0cf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
 // RUNX: llvm-gcc -m32 -emit-llvm -S -o %t %s &&
 
 // RUN: grep '@"\\01L_OBJC_CATEGORY_A_Cat" = internal global .*section "__OBJC,__category,regular,no_dead_strip", align 4' %t
index 1bc8be8fbba4aa312922458203075534df5ba966..7a3e341a312add98be301802d443e7c4ab2e1bf1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUNX: llvm-gcc -m64 -emit-llvm -S -o %t %s &&
 
 // RUN: grep '@"OBJC_CLASS_$_A" = global' %t
index 9cc2296dd1ba60e2441248c40a6a9007518caef3..5d4841e366be815a65a7a8350e9f9e5862a1ddd7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 
 // RUN: grep '@"OBJC_METACLASS_$_A" = global .*section "__DATA, __objc_data", align 8' %t
 // RUN: grep '@"OBJC_CLASS_$_A" = global .*section "__DATA, __objc_data", align 8' %t
@@ -10,7 +10,7 @@
 // RUN: grep -F 'define internal void @"\01-[A im0]"' %t
 // RUN: grep -F 'define internal void @"\01-[A(Cat) im1]"' %t
 
-// RUN: clang-cc -fobjc-nonfragile-abi -fvisibility hidden -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -fvisibility hidden -emit-llvm -o %t %s
 
 // RUN: grep '@"OBJC_METACLASS_$_A" = hidden global .*section "__DATA, __objc_data", align 8' %t
 // RUN: grep '@"OBJC_CLASS_$_A" = hidden global .*section "__DATA, __objc_data", align 8' %t
index 664b6f0b16b7213db253f99f077c4f378155b4fb..fd759e351029ab6735d7743d75f8b4316f570d8b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
 
 @interface I0 
 @end
index 898c81add5e9d0d45fe6ef3f03782e7e72868ced..3e8e5ba56e0c975be70d81534fe74fd4a60d61a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index 34bf603da57d56a8347af7073bfb276c1eab83b3..38ea739053faa841471d8a34b1aefa71267b4a26 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 
 @interface NSObject
 @end
index 367705f26218f1cd525088994aca4a077afe4ae3..0bca6401c99978e1eb942e5660922712af4fc76d 100644 (file)
@@ -1,5 +1,5 @@
 // RUNX: llvm-gcc -m64 -emit-llvm -S -o %t %s &&
-// RUN: clang-cc -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUN: grep '@".01L_OBJC_LABEL_NONLAZY_CLASS_$" = internal global \[1 x .*\] .*@"OBJC_CLASS_$_A".*, section "__DATA, __objc_nlclslist, regular, no_dead_strip", align 8' %t
 // RUN: grep '@".01L_OBJC_LABEL_NONLAZY_CATEGORY_$" = internal global \[1 x .*\] .*@".01l_OBJC_$_CATEGORY_A_$_Cat".*, section "__DATA, __objc_nlcatlist, regular, no_dead_strip", align 8' %t
 
index c029d48ea3a0acf777e969db6e273d13941194d0..785378ae5af81a2f00faa93a28f0b5665aff86f0 100644 (file)
@@ -1,7 +1,7 @@
 // 32-bit
 
 // RUNX: llvm-gcc -m32 -emit-llvm -S -o %t %s &&
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep '@"\\01L_OBJC_CATEGORY_A_Cat" = internal global .*, section "__OBJC,__category,regular,no_dead_strip", align 4' %t
 // RUN: grep '@"\\01L_OBJC_CLASS_A" = internal global .*, section "__OBJC,__class,regular,no_dead_strip", align 4' %t
 // RUN: grep '@"\\01L_OBJC_CLASS_C" = internal global .*, section "__OBJC,__class,regular,no_dead_strip", align 4' %t
@@ -14,7 +14,7 @@
 
 // 64-bit
 
-// RUNX: clang-cc -triple i386-apple-darwin9 -emit-llvm -o %t %s &&
+// RUNX: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s &&
 // RUNX: grep '@"OBJC_CLASS_$_A" = global' %t &&
 // RUNX: grep '@"OBJC_CLASS_$_C" = global' %t &&
 // RUNX: grep '@"OBJC_METACLASS_$_A" = global' %t &&
index 795dec0d7ea1f231f4de5f64c4805daae2839cf9..d54b8026414f6a46ef3e7babc78282daa614e6d3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_ivar' %t  | count 14
 
 typedef struct {
index 1646cde892029c23a2df9a395d98f60195e7ccdc..9ed6fdf0f04ead01f79c79162c75e767e5820c53 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_memmove_collectable %t | grep call | count 3
 
 static int count;
index 3edaf4c749ed8508236031edef2360f29ef02fc7..35854f234ef6e4ee76e2b35376138c1abe479423 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -fblocks -fobjc-gc -triple x86_64-apple-darwin -S %s -o %t-64.s
+// RUN: clang -cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -fblocks -fobjc-gc -triple i386-apple-darwin -S %s -o %t-32.s
+// RUN: clang -cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 @interface NSObject 
index 6b34796983ffea6b9b75d650527dcac1ffefdb8c..fab4f82f39ae10615342dc63f86fd4e5fba122f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_global' %t  | count 26
 
 @class NSObject;
index 8e9a872f93f3b16c9118a5ba0c50c3bba431e6fb..1d5b97316b8db81b59c5556d0b9de7c6d86a88e1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_assign_ivar %t | count 6
 
 @interface I @end
index b6a0c03ac35ba4e70306ead4e4522478afd4a044..2992cef1ed807fa82f1913ca12654e7f41041839 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fblocks -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fblocks -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_strongCast' %t  | count 4
 
 @interface DSATextSearch @end
index bce50cd4544ca8bf7fa22e6bfbefacc44d4880a5..649c3e925e31c5caaee7a4a96f508ea01df54a06 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface PDFViewPrivateVars 
 {
index b41f63fe45287037fa14e5f6f898510502af9c72..17d4e1046e46f07ba280b171d1d6680e58776e77 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep 'objc_assign' %t | count 0
 
 typedef struct {
index f1c1024cece5e6a5592da0ff16ad25d7bde6133c..c5f68d2c5b0eca52b05caa2f86b72c4c7b0cb93a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "T@\\\\22NSString\\\\22" %t
 @interface NSString @end
 
index 2174792bd920fd9b2a0a9c136c56accd4afa18ee..d8b86bc72ff78387fa4013a334187be3956c6ad0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "T@\\\22<X>\\\22" %t
 // RUN: grep -e "T@\\\22<X><Y>\\\22" %t
 // RUN: grep -e "T@\\\22<X><Y><Z>\\\22" %t
index d78bc366d3983b747531eb2db8fdbf7c8fc5a3f7..2d49ef78d7cf8fc716b58d3db00ef834f2851c5c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown -fobjc-gc-only -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-unknown-unknown -fobjc-gc-only -emit-llvm -o %t %s
 
 @interface I0 {
   I0 *_f0;
index 8cad08c88a60ced2523e8505b5316323408196db..ed083c9de9291689f273968caa84eb1d63ddce7f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
 
 @interface I {
   __attribute__((objc_gc(strong))) int *i_IdocumentIDs;
index 73fe16af4f73f2816e3f25f19cb3280b33245f92..e8cacd1d6fb0d6083b6199da288c1e5ab22ce7bb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-gc -emit-llvm -o %t %s
 
 @interface I {
   __attribute__((objc_gc(strong))) signed long *_documentIDs;
index ea53b020124c3d7c7d151cd3f593ff9a3d7bc51d..41a76f0152eb90c1bf88ddd4196fb967239cb16d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -e "objc_assign_weak" %t | grep -e "call" | count 6
 
 __weak id* x;
index 82cc558b567b19cb36c43878ab18feb5885d40f1..346485a3668bfa6a8cafdef9649cdb56d8b739f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 
 @interface PBXTarget 
 {
index fbdffbf84a80f0c76ca201565c209d14c6cc7f17..b5bb87052e45b835e079c85ec5bfd1fad7e864e7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
 
 __attribute__((weak_import)) @interface WeakRootClass @end
 
index 3930989f44dfe7c113d6b493ed417e14c985e817..dc8ced1b0c3157386859d44fa7216c4676a07a44 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
-// RUN: clang-cc -triple i386-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
 
 // rdar://7252252
 @interface Loop {
index 592c1f05474b4839289da3f59b26631cecec28a1..bcdb25c03068fca8c7d9b5ab33cf2999c269fd50 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 @class NSObject;
 
 @interface Foo  {
index cdb135f0150c4f31f60596644c29c1cf1d22e679..35a812f9620c4852f838b7f499fe8e5208fb6bd0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_global' %t  | count 7
 // RUN: grep -F '@objc_assign_ivar' %t  | count 5
 // RUN: grep -F '@objc_assign_strongCast' %t  | count 8
index 7058302f98a8b6d4ee73cce9ea81319b67348191..ecb038586cacde4f9297dee1238511eabd5018ab 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_assign_ivar %t | count 3
 // RUN: grep objc_assign_strongCast %t | count 6
 
index 4c863f4a763931aeaf3a17d2eb66efe74cbd7a99..8b672cc6f0fa0e5930c2a3642220202ac5d656e9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_assign_global %t | count 3
 // RUN: grep objc_assign_strongCast %t | count 2
 
index 2e51b44093a3c42967026503ddfa30d3aba90d64..8241af7b3026a05fd19f4b17010b589e37b399ac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_assign_ivar %t | count 0
 // RUN: grep objc_assign_strongCast %t | count 5
 
index bff6d8fdd012f1516aa25070ce8facf9b399de06..5877064cf31093f9b3fa931c062fdacc7cb6dab6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_global' %t  | count 21
 // RUN: grep -F '@objc_assign_ivar' %t  | count 11
 
index 25b9698860232c369befa7c5822c661b84b84309..7e1870e1e3460cc102e5ec340b95374adf611b6a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm %s -o %t
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm %s -o %t
 
 @interface Foo 
 {
index bd3aff81b97d4d5126c7028011545f1222131bb3..abf1e27e18b8696b3ffcf3f9acf0beda9c58bd40 100644 (file)
@@ -1,5 +1,5 @@
 // rdar://6657613
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: clang -cc1 -emit-llvm %s -o %t
 
 @class C;
 
index b27bb3488a5a6fd3911533c0c3299202d3de4b7c..f75eef320da18411f7403f5fc57d18e97151e832 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: @"__func__.-[Foo instanceTest1]" = private constant [21 x i8] c"-[Foo instanceTest1]\00"
 // CHECK: @"__func__.-[Foo instanceTest2:]" = private constant [22 x i8] c"-[Foo instanceTest2:]\00"
index e2890b6ee80e7a0e231d583d7da56dacdf638b8a..263f76dda59c8a58e15ae3a77fdaa09537a57abd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index e25429ed75259efb43e7585a83adf48e83d78149..a5c95c7fba6f0f9dbed3df2008f7b4364efe3399 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 typedef struct {
   unsigned f0;
index aedb1fac6c2ff09d1a44d0f2cc905622592a8fd8..6d1b775408c95ac31c1a2899b023733863a36d09 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -S -o - %s
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -S -o - %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -S -o - %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -S -o - %s
 
 @interface I0 {
 @public
index 8701b580af6e9ab8dd3b726cbd7fcd856eb2248c..8d8ae90b3537952803ae4537e4e320cbb4293372 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @protocol NSObject
 - (void *)description;
index eb227dde19d59442200be843bb97fa714e68ccb7..f2660fe7a791e9ff037758ef108540b63923991d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index b20a681f8d52154277f29603bb3a7cf0836f2da0..35895b9aced8c19899f0756b280781a8b2edae13 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -emit-llvm -o - %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o - %s
 // FIXME. Test is incomplete.
 
 @protocol P 
index 390392415d730dab06da49b573dd6e6eb9b1e003..43f74fb07b43cc283a8d11a7028f0bfef64b8129 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUN: clang -cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
 // RUN: grep -e "SiSetOtherThings:" %t
 
 @interface A 
index 2ab10541a7d09c7001a142824ddcda3d37106e0b..d4868245156ac5ab946f21e0a0feb51085623778 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 int printf(const char *, ...);
 
index cad59b0fcdb97bfa0bbc54d31106a599572a0d76..ce1d0f3cea39c0f878f187959f0171b975efb53d 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -S %s -o %t-64.s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -S %s -o %t-32.s
+// RUN: clang -cc1 -triple i386-apple-darwin -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 @protocol MyProtocol
index ab230af2321183d00f8c3eba6fdfc50d552ee361..f59de81f8b377211de08bffb39d93915f2451638 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 
 @interface BaseClass {
     id _delegate;
index 54ca19ceb46a9d773ca22966e37db814e0521d7a..7e4c45d398e192c2cbfd15a7d9ce9c8b6e150be0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUN: clang -cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
 // RUNX: llvm-gcc -S -emit-llvm -o %t %s &&
 
 // No object generated
index c510685e521deafd6d0b02bd541da894ffe64e33..1e765df14bef336d5eaca6ef87e7ed35897a19c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: clang -cc1 -emit-llvm %s -o %t
 
 void p(const char*, ...);
 
index 3c6894dddd1772446f88680518513a47cc485d25..d5832bc8784213b779cb8fcde4ea96f43bce05ee 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 // RUN: grep -e "^de.*objc_msgSend[0-9]*(" %t | count 1
-// RUN: clang-cc -DWITHDEF -emit-llvm -o %t %s
+// RUN: clang -cc1 -DWITHDEF -emit-llvm -o %t %s
 // RUN: grep -e "^de.*objc_msgSend[0-9]*(" %t | count 1
 
 id objc_msgSend(int x);
index c65a5b280542d2839fdc14d81ced3f4daee605bc..317c5d3ca97cb2bf8baa62d10e6a14e48f283618 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 // pr5025
 // radar 7405040
 
index 033bc972a348aced1461d1979c8efcd4b0e442a9..64ba1419c0f4f5d7f7ed8a7d9ddaf24874a94a7f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface SUPER
 + (void)Meth;
index 6e4f176724c8184c05c5bbc0d5c7454dae6c48e6..0f811040d5465d8482e64819bfaa38c1bde461ac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 
 @interface B
 {
index edc26a1157fd84b0adb41a8914f9c4eef610ccf6..ebb443b81aff71c620dfae10d982a9e9654b9c01 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
 
 @class  Some;
 
index 8147cd1e235f256c485412dd6057a2411cffae55..8bb19142bdcdefbedc3db9ec2d4bb30006642d08 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin9 -o %t %s -O2
+// RUN: clang -cc1 -emit-llvm -triple=i686-apple-darwin9 -o %t %s -O2
 // RUN: grep 'ret i32' %t | count 1
 // RUN: grep 'ret i32 1' %t | count 1
 
index dd444c358b7edd2214cd3584e3ed4a5ba9783c5e..fb61137df49dfed35a6213510b06aad5a34e27f4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUN: grep '@"OBJC_IVAR_$_XCOrganizerDeviceNodeInfo.viewController"' %t
 
 @interface XCOrganizerNodeInfo
index 9ed08d9ce559ef126ded3c9274d624a99be1a38c..ae21044a4ebe135e8af66776aa044b0b5475635e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 
 @interface I
 @property int IP;
index eebc482e4608ffaf942d6ba50ee542761b36172b..01106a9c2101a7da491a85531ac1e69569a92514 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -S -o - -triple=i686-apple-darwin9
-// RUN: clang-cc %s -S -o - -triple=x86_64-apple-darwin9
+// RUN: clang -cc1 %s -S -o - -triple=i686-apple-darwin9
+// RUN: clang -cc1 %s -S -o - -triple=x86_64-apple-darwin9
 
 // rdar://6757213 - Don't crash if the internal proto for
 // __objc_personality_v0 mismatches with an actual one.
index 7fe0790032aa3ccbf5adabfa699e0ec59b835378..c57f53dd0b61b9e119122e461a54e3685e191bc7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -fgnu-runtime %s
+// RUN: clang -cc1 -emit-llvm-only -fgnu-runtime %s
 
 @protocol MadeUpProtocol;
 
index 605d09b03322cf58d517de5210f60a6f03f10d5f..48d37f13ce70b1198a18bfff3aba02e57f609714 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: clang -cc1 -emit-llvm -o %t %s
 // Test that meta-data for ivar lists with unnamed bitfield are generated.
 //
 @interface Foo {
index ab0beef714536ed457265de26d5a05b91ca5314c..1979e3fc293c7bfa55dc84f6c0111630982bdcb8 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-32 %s
-// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
+// RUN: clang -cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-32 %s
+// RUN: clang -cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
 
 @interface A
 -(void) im0;