[cfe-commits] r140973 - /cfe/trunk/test/Index/complete-synthesized.m

John McCall rjmccall at apple.com
Sun Oct 2 13:27:19 PDT 2011


Author: rjmccall
Date: Sun Oct  2 15:27:18 2011
New Revision: 140973

URL: http://llvm.org/viewvc/llvm-project?rev=140973&view=rev
Log:
Sorry, I misunderstood the interaction here;  the GNU runtime does
support both a fragile and non-fragile ABI, and it can be selected at
runtime.  That driver option also works on Darwin (although obviously
the code is not necessarily usable if the system runtime is fragile)
so just do that.


Modified:
    cfe/trunk/test/Index/complete-synthesized.m

Modified: cfe/trunk/test/Index/complete-synthesized.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/complete-synthesized.m?rev=140973&r1=140972&r2=140973&view=diff
==============================================================================
--- cfe/trunk/test/Index/complete-synthesized.m (original)
+++ cfe/trunk/test/Index/complete-synthesized.m Sun Oct  2 15:27:18 2011
@@ -35,11 +35,9 @@
 }
 @end
 
-// We use -fgnu-runtime to portably force the use of the non-fragile ABI.
-
-// RUN: c-index-test -code-completion-at=%s:24:1 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
-// RUN: c-index-test -code-completion-at=%s:30:2 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
-// RUN: c-index-test -code-completion-at=%s:34:2 -fgnu-runtime -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:24:1 -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:30:2 -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
+// RUN: c-index-test -code-completion-at=%s:34:2 -fobjc-nonfragile-abi -fobjc-default-synthesize-properties %s | FileCheck %s
 
 // CHECK: NotImplemented:{TypedText _Bool} (50)
 // CHECK: ObjCIvarDecl:{ResultType float}{TypedText _prop2} (35)





More information about the cfe-commits mailing list