summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCMac.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add test case for superrefs section (and make spacing consistent).Daniel Dunbar2009-04-151-2/+2
| | | | llvm-svn: 69198
* __objc_superrefs belongs to __DATA segment.Fariborz Jahanian2009-04-151-1/+1
| | | | llvm-svn: 69170
* Tweaks to Objective-C metadata (32 & 64-bit) to match llvm-gcc.Daniel Dunbar2009-04-151-19/+21
| | | | | | | | | | | | | | | | | | | - Set alignment on property lists. - 32-bit: o Set section on property lists. o Fix section name for category class methods. o Fix symbol name for property lists. o Fix section name for class method. o Set alignment and section on class extension structure. o Set alignment on a number of things: instance variables, methods, method descriptions, the symbols structure. - 64-bit: o Fix section flags for protocol list. I doubt most of these were problems in practice, but it is nice to match llvm-gcc. llvm-svn: 69132
* Set alignment on __cstring metadata variables to 1 (matchingDaniel Dunbar2009-04-141-15/+10
| | | | | | llvm-gcc). llvm-svn: 69097
* Avoid use of magic \01 prefix when unneeded.Daniel Dunbar2009-04-141-1/+1
| | | | llvm-svn: 69093
* Do not dead code strip global meta-data objects.Fariborz Jahanian2009-04-141-15/+10
| | | | | | This will match gcc's behavior in the arena. llvm-svn: 69061
* Fix comment.Daniel Dunbar2009-04-141-1/+1
| | | | llvm-svn: 69053
* Clean up handling of visibility.Daniel Dunbar2009-04-141-30/+8
| | | | llvm-svn: 69027
* Update to use hasAttr() instead of getAttr().Daniel Dunbar2009-04-131-1/+1
| | | | | | - No functionality change. llvm-svn: 68987
* Patch to generate meta-data for prtocol usedFariborz Jahanian2009-04-101-1/+4
| | | | | | in @protocol expression. llvm-svn: 68806
* Propagate the ASTContext to various AST traversal and lookup functions.Douglas Gregor2009-04-091-40/+53
| | | | | | No functionality change (really). llvm-svn: 68726
* Implementation definition of interfaces with __objc_exception attribute.Daniel Dunbar2009-04-081-35/+65
| | | | | | | - Complete <rdar://problem/6635883> Support __objc_exception__ attribute llvm-svn: 68591
* Propagte -fvisibility to objc2's class symbols.Fariborz Jahanian2009-04-071-9/+6
| | | | llvm-svn: 68543
* Handle use side of __objc_exception__ attribute; when using anDaniel Dunbar2009-04-071-0/+19
| | | | | | | exception with this attribute we don't need to emit a weak definition for the exception type information. llvm-svn: 68513
* Various fixes to symbols used for Obj-C x86_64 metadata.Daniel Dunbar2009-04-071-23/+36
| | | | | | | | | | | | | | | | | | | | | - Changed method names to match gcc (categories names still aren't mangled in). - Expose correct name for class and metadata symbols (although -fvisibility=hidden isn't yet correct). - Remove several things from llvm.used that didn't need to be there (I suspect this can still be trimmed). - Don't use asm-prefix extension for _objc_empty_{cache,vtable} (not needed). - Hide EH type class info with -fvisibility=hidden - Change setGlobal[Option]Visibility to not change the visibility of functions with internal linkage. llvm-svn: 68510
* Fixed visibility issues related to objc2's synthesizedFariborz Jahanian2009-04-061-20/+17
| | | | | | ivars. llvm-svn: 68453
* Fix a couple of cases where Constant* pointers can dangle inChris Lattner2009-04-061-17/+20
| | | | | | | | ObjCNonFragileABITypesHelper by converting them to dynamic getters. This fixes a crash on rdar://6757213. The others should be converted over as well. llvm-svn: 68445
* Fix up lookup rules for properties declared inFariborz Jahanian2009-04-021-37/+0
| | | | | | objc's continuation class. llvm-svn: 68339
* Nonfragile ivar synthesis with property is in a continuationFariborz Jahanian2009-04-011-0/+38
| | | | | | class. llvm-svn: 68234
* More "prep" work for handling UTF16 CFString.Steve Naroff2009-04-011-6/+1
| | | | | | Patch by Jean-Daniel Dupas. Thanks! llvm-svn: 68203
* remove ASTContext::buildObjCInterfaceType, which breaks canonical Chris Lattner2009-04-011-4/+1
| | | | | | | | types. It is no longer needed now that the code generator re-lays-out interfaces if they are defines after being laid out from a forward decl. llvm-svn: 68194
* ir-gen support for nonfragile abi's synthesized ivars.Fariborz Jahanian2009-03-311-4/+17
| | | | llvm-svn: 68122
* More toward nonfragile abi's synthesized ivars.Fariborz Jahanian2009-03-311-0/+8
| | | | llvm-svn: 68115
* Some "prep" work for handling ObjC @-string constants that contain UTF-8. No ↵Steve Naroff2009-03-311-3/+8
| | | | | | | | functionality change. Changed GenerateConstantString() to take an ObjCStringLiteral (instead of a std::string). While this isn't strictly necessary, it seems cleaner and allows us to cache to "containsNonAscii" if necessary (to avoid checking in both Sema and CodeGen). llvm-svn: 68114
* fill in temporary smallvectors instead of vectors for performance.Chris Lattner2009-03-311-32/+29
| | | | | | Fix BuildAggrIvarLayout to not access vectors out of range. llvm-svn: 68101
* small cleanups.Chris Lattner2009-03-311-9/+7
| | | | llvm-svn: 68095
* - Minor change to dump of ivar layout map.Fariborz Jahanian2009-03-261-1/+4
| | | | | | | | - Temporarily undef'ed __OBJC2__ in nonfragile objc abi mode as it was forcing ivar synthesis in a certain project which clang does not yet support. llvm-svn: 67766
* More for for objc2's ivar layout map (currentlyFariborz Jahanian2009-03-251-3/+22
| | | | | | is not in use). llvm-svn: 67713
* Must allow for strong cast of floats as well (objc2 gc).Fariborz Jahanian2009-03-231-17/+50
| | | | llvm-svn: 67551
* pull "runtime globals" into the same framework as other functions/global ↵Chris Lattner2009-03-221-32/+31
| | | | | | | | variables. No intended functionality change. llvm-svn: 67478
* Fix a crash during meta-data generation of objc2's nonfragile abi.Fariborz Jahanian2009-03-201-1/+4
| | | | llvm-svn: 67402
* Remove a FIXME.Daniel Dunbar2009-03-151-2/+0
| | | | llvm-svn: 67022
* Fixed an ir-gen bug related to strong-cast generation ofFariborz Jahanian2009-03-131-0/+32
| | | | | | source being a non-pointer. llvm-svn: 66854
* More objc2's ivar layout bitmap.Fariborz Jahanian2009-03-121-62/+104
| | | | | | | bitmap generation for basic ivars seem to work now. This is work in progress. llvm-svn: 66836
* Code refactoring. No change in functionality.Fariborz Jahanian2009-03-111-21/+25
| | | | llvm-svn: 66710
* More of objc2's ivar layout bitmap (Next: specific).Fariborz Jahanian2009-03-111-11/+174
| | | | | | Work in progress. llvm-svn: 66707
* More Next objc2's gc ivar layout bitmap work.Fariborz Jahanian2009-03-111-3/+128
| | | | | | Work in progress. llvm-svn: 66615
* More objc2's gc meta-data work related to ivar layout bitmap.Fariborz Jahanian2009-03-101-6/+55
| | | | | | Work in progress. llvm-svn: 66546
* NeXT: Set alignment on a number of ObjC metadata variables (matching llvm-gcc).Daniel Dunbar2009-03-091-11/+11
| | | | llvm-svn: 66481
* NeXT: Move some routines over to CreateMetadataVar.Daniel Dunbar2009-03-091-169/+81
| | | | | | - No intended functionality change. llvm-svn: 66473
* Tweak CreateMetadataVar, take the exact alignment instead of relyingDaniel Dunbar2009-03-091-7/+15
| | | | | | on LLVM TargetData. llvm-svn: 66455
* More fix for bitfield ivar meta-data and code gen accessing it.Fariborz Jahanian2009-03-091-8/+17
| | | | | | | Now, we can actually execute dejagnu test with bitfield ivars in non-fragile abi mode. llvm-svn: 66448
* Fix typo in pref commit.Daniel Dunbar2009-03-091-1/+1
| | | | llvm-svn: 66433
* NeXT: Add CreateMetadataVar utility method to encapsulate creation ofDaniel Dunbar2009-03-091-0/+34
| | | | | | | | Obj-C metadata variables (which generally should be handled the same, although they aren't currently). - No functionality change. llvm-svn: 66432
* Code refactoring. No functional change.Fariborz Jahanian2009-03-081-25/+17
| | | | llvm-svn: 66391
* correct bitfield ivar offset in ivar meta-data.Fariborz Jahanian2009-03-071-12/+27
| | | | | | (objc abi specific). llvm-svn: 66345
* Fixup our uses of various linkages to match how llvm now works. I think ↵Mike Stump2009-03-071-6/+8
| | | | | | | | they are all correct, but an extra set of ObjC eyes would be good. llvm-svn: 66342
* Back out the patch in r66302, and re-fix it properly. We assume for Eli Friedman2009-03-071-0/+6
| | | | | | | | performance that the type of the returned llvm::Value for an expression matches the converted type of the clang::Expr; mismatches will cause all sorts of errors and silent miscompilations. llvm-svn: 66321
* Cleanup EH a bit given changes to ObjCCatchStmt.Daniel Dunbar2009-03-061-13/+15
| | | | | | - No functionality change. llvm-svn: 66218
* More function stop for objc2's ivar layout bit map.Fariborz Jahanian2009-03-051-0/+50
| | | | llvm-svn: 66209
OpenPOWER on IntegriCloud