summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjCMac.cpp
Commit message (Collapse)AuthorAge
...
* Use the new cleanup infrastructure for @try/@finallyAnders Carlsson2009-02-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64160 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a simplified EmitJumpThroughFinally and use it in CGObjC in preparation ↵Anders Carlsson2009-02-08
| | | | | | of making it use the cleanup stack. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64098 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the exception object out into its own stack.Anders Carlsson2009-02-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64032 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify the Objective-C exception handling.Anders Carlsson2009-02-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64031 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed an objc2 nonfragile-abi code gen bug.Fariborz Jahanian2009-02-06
| | | | | | | | Now we can say 'hello world' objective-c style in the nonfragile abi. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63981 91177308-0d34-0410-b5e6-96231b3b80d8
* objc2's nonfragile abi API for messages sent to 'super'.Fariborz Jahanian2009-02-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63959 91177308-0d34-0410-b5e6-96231b3b80d8
* objc2's nonfragile-abi - API selection for when receiver is a classFariborz Jahanian2009-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63881 91177308-0d34-0410-b5e6-96231b3b80d8
* More objc2's API chanes.Fariborz Jahanian2009-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63878 91177308-0d34-0410-b5e6-96231b3b80d8
* #ifdef'out out objc2 API selection which is not done in gcc (unlikeFariborz Jahanian2009-02-05
| | | | | | | the documentation to the contrary). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63871 91177308-0d34-0410-b5e6-96231b3b80d8
* This patch generates messaging code for objc2's non-fragile abi.Fariborz Jahanian2009-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63810 91177308-0d34-0410-b5e6-96231b3b80d8
* Some early code for objc2's nonfragile abi messaging.Fariborz Jahanian2009-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63770 91177308-0d34-0410-b5e6-96231b3b80d8
* Change construction of common ObjC functions to use CGCallDaniel Dunbar2009-02-04
| | | | | | | | | | infrastructure to construct function type. - For consistencty, we should probably always use this to construct function types, but these are absolutely necessary to ensure that we can emit calls to these functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63695 91177308-0d34-0410-b5e6-96231b3b80d8
* Some function stub added for new abi messaging.Fariborz Jahanian2009-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63691 91177308-0d34-0410-b5e6-96231b3b80d8
* Several new declarations for objc2 nonfragileFariborz Jahanian2009-02-03
| | | | | | | abi messaging. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63684 91177308-0d34-0410-b5e6-96231b3b80d8
* ir-gen for nonfragile ivar bitfield access (objc2 nonfragile abi).Fariborz Jahanian2009-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63644 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor objc2 bug fix.Fariborz Jahanian2009-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63635 91177308-0d34-0410-b5e6-96231b3b80d8
* objc2's ir-gen for nonfragile ivar access.Fariborz Jahanian2009-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63578 91177308-0d34-0410-b5e6-96231b3b80d8
* Thread CGFunctionInfo construction through CodeGenTypes.Daniel Dunbar2009-02-02
| | | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63567 91177308-0d34-0410-b5e6-96231b3b80d8
* More ABI API cleanup.Daniel Dunbar2009-02-02
| | | | | | | | - Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63553 91177308-0d34-0410-b5e6-96231b3b80d8
* ABI handling API changes.Daniel Dunbar2009-02-02
| | | | | | | | | | | | - Lift CGFunctionInfo creation up to callers of EmitCall. - Move isVariadic bit out of CGFunctionInfo, take as argument to GetFunctionType instead. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63550 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactored code gen for ivar access in preparation forFariborz Jahanian2009-02-02
| | | | | | | objc2 nonfragile ivar access code gen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63541 91177308-0d34-0410-b5e6-96231b3b80d8
* Use target alignment API to set objc2's meta-dataFariborz Jahanian2009-01-31
| | | | | | | alignment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63470 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill off CGCallInfo, always use CGFunctionInfo for encapsulatingDaniel Dunbar2009-01-31
| | | | | | | function/call info. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63466 91177308-0d34-0410-b5e6-96231b3b80d8
* class meta-data belong to __objc_data section (in objc2Fariborz Jahanian2009-01-31
| | | | | | | nonfragile abi). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63461 91177308-0d34-0410-b5e6-96231b3b80d8
* Recognize class's visibility attribute and set its linkageFariborz Jahanian2009-01-31
| | | | | | | to private extern (in objc2 nonfragile abi). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63460 91177308-0d34-0410-b5e6-96231b3b80d8
* Missed another mis-alignment of an objc2 meta-data.Fariborz Jahanian2009-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63453 91177308-0d34-0410-b5e6-96231b3b80d8
* Setting correct alignent for objc2 meta-data.Fariborz Jahanian2009-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63445 91177308-0d34-0410-b5e6-96231b3b80d8
* add imag_info section and data (for objc2 nonfragile abi).Fariborz Jahanian2009-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63430 91177308-0d34-0410-b5e6-96231b3b80d8
* Generate list of implemented classes and categories in theirFariborz Jahanian2009-01-30
| | | | | | | own sections (related to objc2 nonfragile abi). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63418 91177308-0d34-0410-b5e6-96231b3b80d8
* Code gen. for @protocol expression in the new nonfragile abi.Fariborz Jahanian2009-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63408 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fixing involving method-list in protocol meta-dataFariborz Jahanian2009-01-30
| | | | | | | (objc2 nonfragile-abi). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63351 91177308-0d34-0410-b5e6-96231b3b80d8
* Random bug fix related to protocl metadata in categories inFariborz Jahanian2009-01-29
| | | | | | | non-fragile abi. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63343 91177308-0d34-0410-b5e6-96231b3b80d8
* Set protocol linkage and visibility correctly andFariborz Jahanian2009-01-29
| | | | | | | | build protocol translation table meta-data (objc2 non-fragile abi). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63329 91177308-0d34-0410-b5e6-96231b3b80d8
* Protocol meta-data for objc2's non-fragile abi. Fariborz Jahanian2009-01-29
| | | | | | | Lot more to do in this area. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63326 91177308-0d34-0410-b5e6-96231b3b80d8
* Add setter/getter methods to the list of methodsFariborz Jahanian2009-01-28
| | | | | | | of class's meta-data (related to objc2 nonfragile abi). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63251 91177308-0d34-0410-b5e6-96231b3b80d8
* property metadata for objc2's nonfragile abiFariborz Jahanian2009-01-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63246 91177308-0d34-0410-b5e6-96231b3b80d8
* Some refactoring of common code. No change in functionality.Fariborz Jahanian2009-01-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63218 91177308-0d34-0410-b5e6-96231b3b80d8
* Set visibility of ivar offset symbols according to Fariborz Jahanian2009-01-28
| | | | | | | | accessibility of the ivar (related to objc2's non-fragile abi). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63166 91177308-0d34-0410-b5e6-96231b3b80d8
* Generation of ivar-offset symbols in objc2's non-fragile abi.Fariborz Jahanian2009-01-28
| | | | | | | Changed section names for meta-data (to match current gcc). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63163 91177308-0d34-0410-b5e6-96231b3b80d8
* After talking to our runtime guru, I added a comment.Fariborz Jahanian2009-01-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63141 91177308-0d34-0410-b5e6-96231b3b80d8
* ivar meta-data generation for nonfragile-abi.Fariborz Jahanian2009-01-27
| | | | | | | Still more work to do in this area. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63126 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a FIXME.Fariborz Jahanian2009-01-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63071 91177308-0d34-0410-b5e6-96231b3b80d8
* Build method-description-list for category meta-data Fariborz Jahanian2009-01-26
| | | | | | | as well (for nonfragile-abi). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63062 91177308-0d34-0410-b5e6-96231b3b80d8
* Method decription meta-data and its setting in class_ro_t Fariborz Jahanian2009-01-26
| | | | | | | meta-data. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63043 91177308-0d34-0410-b5e6-96231b3b80d8
* Meta-data for nonfragile-abi's categoriesFariborz Jahanian2009-01-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63020 91177308-0d34-0410-b5e6-96231b3b80d8
* Compute instaceStart/instanceSize fields of the class_ro_t meta-dataFariborz Jahanian2009-01-24
| | | | | | | for objc2's non-fragile abi. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62945 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to build class meta-data for each implementation Fariborz Jahanian2009-01-24
| | | | | | | of class in objc2's nonfragile abi. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62935 91177308-0d34-0410-b5e6-96231b3b80d8
* This patch builds the meta-class object for each Fariborz Jahanian2009-01-24
| | | | | | | implemented class in objc2's nonfrigile abi. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62929 91177308-0d34-0410-b5e6-96231b3b80d8
* Some very early work for new objc's Fariborz Jahanian2009-01-23
| | | | | | | meta-data generation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62894 91177308-0d34-0410-b5e6-96231b3b80d8
* Checked in an oops!Fariborz Jahanian2009-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62853 91177308-0d34-0410-b5e6-96231b3b80d8