Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add test case for superrefs section (and make spacing consistent). | Daniel Dunbar | 2009-04-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 69198 | |||||
* | __objc_superrefs belongs to __DATA segment. | Fariborz Jahanian | 2009-04-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 69170 | |||||
* | Tweaks to Objective-C metadata (32 & 64-bit) to match llvm-gcc. | Daniel Dunbar | 2009-04-15 | 1 | -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 (matching | Daniel Dunbar | 2009-04-14 | 1 | -15/+10 | |
| | | | | | | llvm-gcc). llvm-svn: 69097 | |||||
* | Avoid use of magic \01 prefix when unneeded. | Daniel Dunbar | 2009-04-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 69093 | |||||
* | Do not dead code strip global meta-data objects. | Fariborz Jahanian | 2009-04-14 | 1 | -15/+10 | |
| | | | | | | This will match gcc's behavior in the arena. llvm-svn: 69061 | |||||
* | Fix comment. | Daniel Dunbar | 2009-04-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 69053 | |||||
* | Clean up handling of visibility. | Daniel Dunbar | 2009-04-14 | 1 | -30/+8 | |
| | | | | llvm-svn: 69027 | |||||
* | Update to use hasAttr() instead of getAttr(). | Daniel Dunbar | 2009-04-13 | 1 | -1/+1 | |
| | | | | | | - No functionality change. llvm-svn: 68987 | |||||
* | Patch to generate meta-data for prtocol used | Fariborz Jahanian | 2009-04-10 | 1 | -1/+4 | |
| | | | | | | in @protocol expression. llvm-svn: 68806 | |||||
* | Propagate the ASTContext to various AST traversal and lookup functions. | Douglas Gregor | 2009-04-09 | 1 | -40/+53 | |
| | | | | | | No functionality change (really). llvm-svn: 68726 | |||||
* | Implementation definition of interfaces with __objc_exception attribute. | Daniel Dunbar | 2009-04-08 | 1 | -35/+65 | |
| | | | | | | | - Complete <rdar://problem/6635883> Support __objc_exception__ attribute llvm-svn: 68591 | |||||
* | Propagte -fvisibility to objc2's class symbols. | Fariborz Jahanian | 2009-04-07 | 1 | -9/+6 | |
| | | | | llvm-svn: 68543 | |||||
* | Handle use side of __objc_exception__ attribute; when using an | Daniel Dunbar | 2009-04-07 | 1 | -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 Dunbar | 2009-04-07 | 1 | -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 synthesized | Fariborz Jahanian | 2009-04-06 | 1 | -20/+17 | |
| | | | | | | ivars. llvm-svn: 68453 | |||||
* | Fix a couple of cases where Constant* pointers can dangle in | Chris Lattner | 2009-04-06 | 1 | -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 in | Fariborz Jahanian | 2009-04-02 | 1 | -37/+0 | |
| | | | | | | objc's continuation class. llvm-svn: 68339 | |||||
* | Nonfragile ivar synthesis with property is in a continuation | Fariborz Jahanian | 2009-04-01 | 1 | -0/+38 | |
| | | | | | | class. llvm-svn: 68234 | |||||
* | More "prep" work for handling UTF16 CFString. | Steve Naroff | 2009-04-01 | 1 | -6/+1 | |
| | | | | | | Patch by Jean-Daniel Dupas. Thanks! llvm-svn: 68203 | |||||
* | remove ASTContext::buildObjCInterfaceType, which breaks canonical | Chris Lattner | 2009-04-01 | 1 | -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 Jahanian | 2009-03-31 | 1 | -4/+17 | |
| | | | | llvm-svn: 68122 | |||||
* | More toward nonfragile abi's synthesized ivars. | Fariborz Jahanian | 2009-03-31 | 1 | -0/+8 | |
| | | | | llvm-svn: 68115 | |||||
* | Some "prep" work for handling ObjC @-string constants that contain UTF-8. No ↵ | Steve Naroff | 2009-03-31 | 1 | -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 Lattner | 2009-03-31 | 1 | -32/+29 | |
| | | | | | | Fix BuildAggrIvarLayout to not access vectors out of range. llvm-svn: 68101 | |||||
* | small cleanups. | Chris Lattner | 2009-03-31 | 1 | -9/+7 | |
| | | | | llvm-svn: 68095 | |||||
* | - Minor change to dump of ivar layout map. | Fariborz Jahanian | 2009-03-26 | 1 | -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 (currently | Fariborz Jahanian | 2009-03-25 | 1 | -3/+22 | |
| | | | | | | is not in use). llvm-svn: 67713 | |||||
* | Must allow for strong cast of floats as well (objc2 gc). | Fariborz Jahanian | 2009-03-23 | 1 | -17/+50 | |
| | | | | llvm-svn: 67551 | |||||
* | pull "runtime globals" into the same framework as other functions/global ↵ | Chris Lattner | 2009-03-22 | 1 | -32/+31 | |
| | | | | | | | | variables. No intended functionality change. llvm-svn: 67478 | |||||
* | Fix a crash during meta-data generation of objc2's nonfragile abi. | Fariborz Jahanian | 2009-03-20 | 1 | -1/+4 | |
| | | | | llvm-svn: 67402 | |||||
* | Remove a FIXME. | Daniel Dunbar | 2009-03-15 | 1 | -2/+0 | |
| | | | | llvm-svn: 67022 | |||||
* | Fixed an ir-gen bug related to strong-cast generation of | Fariborz Jahanian | 2009-03-13 | 1 | -0/+32 | |
| | | | | | | source being a non-pointer. llvm-svn: 66854 | |||||
* | More objc2's ivar layout bitmap. | Fariborz Jahanian | 2009-03-12 | 1 | -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 Jahanian | 2009-03-11 | 1 | -21/+25 | |
| | | | | llvm-svn: 66710 | |||||
* | More of objc2's ivar layout bitmap (Next: specific). | Fariborz Jahanian | 2009-03-11 | 1 | -11/+174 | |
| | | | | | | Work in progress. llvm-svn: 66707 | |||||
* | More Next objc2's gc ivar layout bitmap work. | Fariborz Jahanian | 2009-03-11 | 1 | -3/+128 | |
| | | | | | | Work in progress. llvm-svn: 66615 | |||||
* | More objc2's gc meta-data work related to ivar layout bitmap. | Fariborz Jahanian | 2009-03-10 | 1 | -6/+55 | |
| | | | | | | Work in progress. llvm-svn: 66546 | |||||
* | NeXT: Set alignment on a number of ObjC metadata variables (matching llvm-gcc). | Daniel Dunbar | 2009-03-09 | 1 | -11/+11 | |
| | | | | llvm-svn: 66481 | |||||
* | NeXT: Move some routines over to CreateMetadataVar. | Daniel Dunbar | 2009-03-09 | 1 | -169/+81 | |
| | | | | | | - No intended functionality change. llvm-svn: 66473 | |||||
* | Tweak CreateMetadataVar, take the exact alignment instead of relying | Daniel Dunbar | 2009-03-09 | 1 | -7/+15 | |
| | | | | | | on LLVM TargetData. llvm-svn: 66455 | |||||
* | More fix for bitfield ivar meta-data and code gen accessing it. | Fariborz Jahanian | 2009-03-09 | 1 | -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 Dunbar | 2009-03-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 66433 | |||||
* | NeXT: Add CreateMetadataVar utility method to encapsulate creation of | Daniel Dunbar | 2009-03-09 | 1 | -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 Jahanian | 2009-03-08 | 1 | -25/+17 | |
| | | | | llvm-svn: 66391 | |||||
* | correct bitfield ivar offset in ivar meta-data. | Fariborz Jahanian | 2009-03-07 | 1 | -12/+27 | |
| | | | | | | (objc abi specific). llvm-svn: 66345 | |||||
* | Fixup our uses of various linkages to match how llvm now works. I think ↵ | Mike Stump | 2009-03-07 | 1 | -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 Friedman | 2009-03-07 | 1 | -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 Dunbar | 2009-03-06 | 1 | -13/+15 | |
| | | | | | | - No functionality change. llvm-svn: 66218 | |||||
* | More function stop for objc2's ivar layout bit map. | Fariborz Jahanian | 2009-03-05 | 1 | -0/+50 | |
| | | | | llvm-svn: 66209 |