summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
Commit message (Collapse)AuthorAgeFilesLines
* Not really any point to testing control flow in this test withoutJohn McCall2011-01-281-8/+1
| | | | | | ret duplication. llvm-svn: 124476
* Update exceptions.m for r124462.Eric Christopher2011-01-281-4/+7
| | | | llvm-svn: 124474
* Fixes an IRgen bug where __block variable isFariborz Jahanian2011-01-261-0/+12
| | | | | | | referenced in the block-literal initializer of that variable. // rdar://8893785 llvm-svn: 124332
* Emit DW_TAG_lexical_scope to surround foreach.Devang Patel2011-01-191-0/+13
| | | | llvm-svn: 123802
* Add unnamed_addr in CreateRuntimeVariable.Rafael Espindola2011-01-181-0/+1
| | | | llvm-svn: 123773
* merge strings created byRafael Espindola2011-01-171-0/+6
| | | | | | const NSConstantString *appKey = @"MyApp"; llvm-svn: 123680
* Add unnamed_addr when creating artificial string globals. For example, inRafael Espindola2011-01-101-10/+10
| | | | | | | | | static const char foo[] = "foo"; static const char *bar = "bar"; the global created to hold "bar" will have it, but foo will not. llvm-svn: 123192
* Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi.Fariborz Jahanian2011-01-045-6/+6
| | | | | | // rdar://8818375 llvm-svn: 122831
* Consider zero-length array of structs whenFariborz Jahanian2011-01-031-0/+22
| | | | | | | computing ivar layouts for objc-gc. Fixes // rdar://8800513 llvm-svn: 122762
* Fix for PR8695.David Chisnall2010-12-261-0/+5
| | | | llvm-svn: 122564
* Add -fobjc-default-synthesized-properties flagTed Kremenek2010-12-231-1/+1
| | | | | | | | | | | | to allow us to explicitly control whether or not Objective-C properties are default synthesized. Currently this feature only works when using the -fobjc-non-fragile-abi2 flag (so there is no functionality change), but we can now turn off this feature without turning off all the features coupled with -fobjc-non-fragile-abi2. llvm-svn: 122519
* ivars craeted for explicit @synthesize and thoseFariborz Jahanian2010-12-151-2/+2
| | | | | | | created for auto-synthesis are @private. Fixes: // rdar://8769582 llvm-svn: 121913
* Do unary conversions on vararg arguments and *then* special-case float.John McCall2010-12-061-0/+14
| | | | | | Fixes PR8742. llvm-svn: 121022
* Don't crash when initializing a subaggregate in C from a property r-value.John McCall2010-12-041-0/+12
| | | | llvm-svn: 120899
* Test case for the l-value base only being evaluated once.John McCall2010-12-041-1/+28
| | | | | | | | | | Also, move the l-value emission code into CGObjC.cpp and teach it, for completeness, to store away self for a super send. Also, inline the super cases for property gets and sets and make them use the correct result type for implicit getter/setter calls. llvm-svn: 120887
* IR Gen. part of API support for __block cxxFariborz Jahanian2010-12-021-4/+4
| | | | | | | | objects imported into blocks. //rdar://8594790. Will have a test case coming (as well as one sent to llvm test suite). llvm-svn: 120713
* Adding couple of Block API, a bug fix andFariborz Jahanian2010-11-111-2/+0
| | | | | | a test change, all for blocks. wip. llvm-svn: 118745
* test case for r118726.Devang Patel2010-11-101-0/+15
| | | | llvm-svn: 118727
* Restore patch reversed in r118475. FixesFariborz Jahanian2010-11-091-1/+1
| | | | | | // rdar://8632525 llvm-svn: 118634
* Reverse patch for // rdar://8632525. It mightFariborz Jahanian2010-11-091-1/+1
| | | | | | has broken a build. llvm-svn: 118475
* Provide a precise builtin declaration for objc_msgSendFariborz Jahanian2010-11-081-1/+1
| | | | | | to avoid a bogus warning. Fixes //rdar: //8632525 llvm-svn: 118451
* Tidy up MIPS_linkage name. Provide it only if it does not match regular ↵Devang Patel2010-10-221-1/+1
| | | | | | | | name, otherwise it confuses debugger. This is tested by local.C in llvmgcc testsuite. llvm-svn: 117107
* This patch implements Next's IRGen for -fconstant-string-class=class-name.Fariborz Jahanian2010-10-191-0/+34
| | | | | | PR6056, //rdar: //8564463 llvm-svn: 116819
* patch fixes class names missing from method names in debug information for Fariborz Jahanian2010-10-181-0/+50
| | | | | | synthesized property. // rdar: //8498026 llvm-svn: 116717
* Coding by inspection has its problems.John McCall2010-10-161-0/+4
| | | | llvm-svn: 116672
* objc_exception_rethrow does not take an exception argument.John McCall2010-10-161-0/+13
| | | | | | rdar://problem/8535238 llvm-svn: 116663
* Revert r116656, "IRgen/Obj-C/NeXT: Fix the IR signature forDaniel Dunbar2010-10-161-14/+0
| | | | | | | | objc_exception_rethrow, so we don't...", since something is actually trying to call this with the wrong signature (!). Unfortunately I don't understand the new EH infrastructure well enough to fix it immediately. llvm-svn: 116660
* IRgen/Obj-C/NeXT: Fix the IR signature for objc_exception_rethrow, so we don'tDaniel Dunbar2010-10-161-0/+14
| | | | | | generate unnecessary %al clear on x86_64. llvm-svn: 116656
* _Bool is not a keyword in C++. Fixes PR7388 and PR8349.Douglas Gregor2010-10-131-0/+5
| | | | llvm-svn: 116422
* Test for //rdar: //8493239Fariborz Jahanian2010-10-111-1/+2
| | | | llvm-svn: 116258
* IRgen/Obj-C: Fix encoding of "long double".Daniel Dunbar2010-10-111-0/+6
| | | | | | - The mind boggles. llvm-svn: 116226
* Merge encode-test-1.m into encode-test.mDaniel Dunbar2010-10-112-36/+29
| | | | llvm-svn: 116225
* FileCheck'ize test.Daniel Dunbar2010-10-111-6/+20
| | | | llvm-svn: 116224
* tests: Tweak test to also match MSVC format.Daniel Dunbar2010-10-071-1/+1
| | | | llvm-svn: 115969
* Re-enable EH cleanups to destroy __block variables, now that we have a moment toJohn McCall2010-10-061-6/+35
| | | | | | deal with the consequences. Fixes rdar://problem/8224178. llvm-svn: 115816
* In the fragile ObjC ABI, save the caught exception to the side if there areJohn McCall2010-10-041-0/+56
| | | | | | | both @catches and a @finally, because the second call to @objc_exception_try_enter will clobber the exception slot. Fixes rdar://problem/8440970. llvm-svn: 115575
* Restore test. Is for //rdar://8493239Fariborz Jahanian2010-10-011-0/+34
| | | | llvm-svn: 115349
* Remove test until further notice.Fariborz Jahanian2010-10-011-34/+0
| | | | llvm-svn: 115258
* Fix test.Fariborz Jahanian2010-10-011-1/+1
| | | | llvm-svn: 115253
* Output debug info. for ivars declared in classFariborz Jahanian2010-10-011-0/+34
| | | | | | | extension and implementation. Fixes rdar://8493239. llvm-svn: 115248
* Attach aritifical attribute with implicit parameters.Devang Patel2010-09-291-0/+16
| | | | | | Radar 8493141. llvm-svn: 115104
* update a bunch of tests that are using the x86 backend instead of grepping IR :(Chris Lattner2010-09-222-4/+4
| | | | llvm-svn: 114535
* Block description for trivial block literals haveFariborz Jahanian2010-09-131-0/+8
| | | | | | their 'isa' field scanned regardless. llvm-svn: 113749
* Fixes an obscure bug in importd block variable layoutFariborz Jahanian2010-09-111-0/+20
| | | | | | | | information when imported variable is used more than once. Originally though to be a bug in importing block varibles. Fixes radar 8417746. llvm-svn: 113675
* Block ivar layout must assume that the 'isa'Fariborz Jahanian2010-09-091-5/+5
| | | | | | | | field of the block descriptor is GC'able (scanned) as this what the runtime expects (one can send it messages). Radar 8394947. llvm-svn: 113454
* Local static block variable referecned in itsFariborz Jahanian2010-09-071-0/+57
| | | | | | | | block-literal initializer expression causes IRgen to crash. This patch fixes by saving it in StaticLocalDecl map already used for such purposes. (radar 8390455). llvm-svn: 113307
* LastFieldBitfield in CGObjCCommonMac::BuildAggrIvarLayout keeps bitfields or ↵Argyrios Kyrtzidis2010-09-061-0/+15
| | | | | | | | unnamed fields but later the code assumes that it's always a bitfield. This can lead to a crash (reported at rdar://8368320). llvm-svn: 113154
* Casting of a property reference to 'void' did notFariborz Jahanian2010-09-041-0/+18
| | | | | | | generate the necessary code. This patch fixes it. // rdar://8389655 llvm-svn: 113079
* tests: Fix a dependency on the temporary value names.Daniel Dunbar2010-09-031-1/+1
| | | | llvm-svn: 112917
* IRgen/Obj-C: Rewrite Objective-C bit-field access to compute the access strategyDaniel Dunbar2010-09-021-0/+43
| | | | | | | | using the same methods as used for normal structures. - This fixes problems with reading past the end of the structure and with handling straddled bit-field access. llvm-svn: 112914
OpenPOWER on IntegriCloud