forked from OSchip/llvm-project
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. llvm-svn: 140973
This commit is contained in:
parent
21c33657d6
commit
7de05027a5
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue