summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCMac.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Comment fixes.Daniel Dunbar2009-04-201-6/+6
| | | | llvm-svn: 69562
* Lift GetClassSizeInfo out of GenerateClass, add a FIXME.Daniel Dunbar2009-04-191-29/+37
| | | | | | - No functionality change. llvm-svn: 69561
* Fix rdar://6804402 - crash on objc implementations declared withChris Lattner2009-04-191-8/+17
| | | | | | | @class but no implementation. This was broken in all 3 runtime impls. llvm-svn: 69512
* Fix bug in computation of ivar offsets for (adjacent) bitfields.Daniel Dunbar2009-04-191-10/+13
| | | | | | | | - The confusing IRgen bitfield interface is partly to blame here; fixing the functional error for now, cleanups to the interface to follow. llvm-svn: 69503
* Reuse ObjcIvarOffsetVariable instead of duplicating code.Daniel Dunbar2009-04-191-22/+9
| | | | | | - No functionality change (but added a FIXME). llvm-svn: 69496
* Remove some unnecessary complexity.Daniel Dunbar2009-04-191-11/+5
| | | | | | - No functionality change. llvm-svn: 69495
* Fix a bug found by inspection, class/meta references could be emittedDaniel Dunbar2009-04-181-17/+39
| | | | | | into the wrong section (they shared the same lookup table). llvm-svn: 69433
* fix a crash compiling code with its own definition of objc_assign_weak.Chris Lattner2009-04-171-5/+11
| | | | | | rdar://6800430 llvm-svn: 69392
* Don't put msgrefs in used globals (in particular, we don't wantDaniel Dunbar2009-04-171-1/+0
| | | | | | no-dead-strip set on them). llvm-svn: 69388
* Fix rdar://6800926 - crash compiling non-fragile _Bool bitfield ivar,Chris Lattner2009-04-171-5/+5
| | | | | | | the functional change here is changing ConvertType -> ConvertTypeForMem so that we handle i1 fields properly as memory. llvm-svn: 69361
* Removed a no longer needed FIXME comment.Fariborz Jahanian2009-04-161-2/+0
| | | | llvm-svn: 69315
* Category method synbols must be qualified by gategory name toFariborz Jahanian2009-04-161-0/+6
| | | | | | match gcc's. llvm-svn: 69305
* Don't use \01 in symbol name if unnecessary.Daniel Dunbar2009-04-151-1/+1
| | | | | | | | - This was particularly bad since I fixed one instance of this name and not another, meaning we got an LLVM module with the same effective name in two different globals! llvm-svn: 69205
* Fix alignment on obj_msgrefs to match llvm-gcc.Daniel Dunbar2009-04-151-2/+1
| | | | llvm-svn: 69199
* 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
OpenPOWER on IntegriCloud