summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/objc-gc-aggr-assign.m
Commit message (Collapse)AuthorAgeFilesLines
* Fix FileCheck --check-prefix lines.Tim Northover2013-08-121-2/+2
| | | | | | | | | | Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
* Restructure how the driver communicates information about theJohn McCall2012-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | target Objective-C runtime down to the frontend: break this down into a single target runtime kind and version, and compute all the relevant information from that. This makes it relatively painless to add support for new runtimes to the compiler. Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z, available at the driver level as a better and more general alternative to -fgnu-runtime and -fnext-runtime. This new concept of an Objective-C runtime also encompasses what we were previously separating out as the "Objective-C ABI", so fragile vs. non-fragile runtimes are now really modelled as different kinds of runtime, paving the way for better overall differentiation. As a sort of special case, continue to accept the -cc1 flag -fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak. I won't go so far as to say "no functionality change", even ignoring the new driver flag, but subtle changes in driver semantics are almost certainly not intended. llvm-svn: 158793
* Make -fobjc-nonfragile-abi the -cc1 default, since it's theJohn McCall2011-10-021-2/+2
| | | | | | | | | | | | | | | | | | | increasingly prevailing case to the point that new features like ARC don't even support the fragile ABI anymore. This required a little bit of reshuffling with exceptions because a check was assuming that ObjCNonFragileABI was only being set in ObjC mode, and that's actually a bit obnoxious to do. Most, though, it involved a perl script to translate a ton of test cases. Mostly no functionality change for driver users, although there are corner cases with disabling language-specific exceptions that we should handle more correctly now. llvm-svn: 140957
* Changed test to use FileCheck.Fariborz Jahanian2010-05-211-5/+10
| | | | llvm-svn: 104319
* Generate objc_memmove_collectable write-barrier for Fariborz Jahanian2010-05-201-1/+10
| | | | | | classes whose base class have GC'able object pointers. llvm-svn: 104296
* Adds support for generation of objc_memmove_collectable APIFariborz Jahanian2010-05-201-0/+48
| | | | | | in Objective-C++ mode. llvm-svn: 104281
* Remove this test for now until I can figure outFariborz Jahanian2010-04-131-46/+0
| | | | | | why it keeps failing on buildbot (but not for me). llvm-svn: 101115
* Modify test to be darwin specific.Fariborz Jahanian2010-04-131-1/+1
| | | | llvm-svn: 101109
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Tests use the new clang.Fariborz Jahanian2009-12-141-1/+1
| | | | llvm-svn: 91290
* Move -fnext-runtime defaulting to driver (and change clang-cc default toDaniel Dunbar2009-11-171-1/+1
| | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-1/+1
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Re-implemented generation of objc_memmove_collectableFariborz Jahanian2009-08-311-1/+5
| | | | | | API for copying GC'able aggregates (Next runtime only). llvm-svn: 80607
* Patch adds test to my previous patch for assigning toFariborz Jahanian2009-07-081-0/+42
gc'able structs in the Next runtime and adds missing PCH info. llvm-svn: 75014
OpenPOWER on IntegriCloud