summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCGNU.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix -forwardingTargetForSelector: (GNUstep runtime) which was broken for theDavid Chisnall2011-12-011-0/+2
| | | | | | old dispatch mechanism when I introduced the new one. llvm-svn: 145609
* It turns out that the Objective-C message lookup functions can throw ↵David Chisnall2011-10-281-11/+14
| | | | | | exceptions after all... llvm-svn: 143205
* Change an int64_t to an intptr_t so that we don't end up with crashes in the ↵David Chisnall2011-10-251-8/+8
| | | | | | back end on large classes on 32-bit. llvm-svn: 142918
* Remove debugging printfs that some idiot left in.David Chisnall2011-10-241-3/+0
| | | | llvm-svn: 142796
* Enable experimental support for objc_msgSend with GNUstep ObjC runtime.David Chisnall2011-10-241-9/+32
| | | | llvm-svn: 142795
* Apparently getPtrToInt() takes an explicit type parameter to allow you to ↵David Chisnall2011-10-081-3/+10
| | | | | | generate invalid bitcode, not so that it can actually produce a value of this type. This should fix PR11085. llvm-svn: 141482
* Fix warning on MSVC. Patch by Aaron Ballman.Eli Friedman2011-10-081-1/+1
| | | | llvm-svn: 141467
* Add bitmaps for strong / weak ivar layout (GNUstep runtime).David Chisnall2011-10-041-18/+102
| | | | llvm-svn: 141085
* When performing an @throw in ARC, retain + autoreleaseJohn McCall2011-10-011-1/+1
| | | | | | | the pointer, being sure to do so before running cleanups associated with that full-expression. rdar://10042689 llvm-svn: 140945
* de-tmpify clang.Benjamin Kramer2011-09-271-2/+1
| | | | llvm-svn: 140637
* Switch assert(0/false) llvm_unreachable.David Blaikie2011-09-231-1/+1
| | | | llvm-svn: 140367
* Change "ivar" to true for a boolean function argument. Since string ↵Richard Trieu2011-09-211-2/+3
| | | | | | literals are cast to true, this should no effect on behavior. llvm-svn: 140231
* Switch LangOptions over to a .def file that describes header of theDouglas Gregor2011-09-131-5/+5
| | | | | | | | | | language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of annoying initialization bugs. AST serialization changes are next up. llvm-svn: 139605
* switch clang to use the new-new way of creating llvm::StructType's.Chris Lattner2011-08-121-2/+1
| | | | llvm-svn: 137472
* Fix typo so we don't use the wrong function for ending ObjC++ catch blocks ↵David Chisnall2011-08-081-1/+1
| | | | | | (GNU runtimes) llvm-svn: 137052
* Fix linkage type for tentative definition of ivar offset variables (GNUstep ↵David Chisnall2011-08-011-2/+2
| | | | | | runtime) llvm-svn: 136628
* Remove some unnecessary single element array temporaries.Jay Foad2011-07-291-8/+5
| | | | llvm-svn: 136461
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-67/+66
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* Add a const overload for ObjCInterfaceDecl::all_declared_ivar_begin.Jordy Rose2011-07-221-14/+10
| | | | | | | | | This was previously not-const only because it has to lazily construct a chain of ivars the first time it is called (and after the chain is invalidated). In practice, all the clients were just const_casting their const Decls; all those now-unnecessary const_casts have been removed. llvm-svn: 135741
* Convert ConstantExpr::getGetElementPtr andJay Foad2011-07-211-5/+5
| | | | | | ConstantExpr::getInBoundsGetElementPtr to use ArrayRef. llvm-svn: 135673
* de-constify llvm::Type, patch by David Blaikie!Chris Lattner2011-07-181-20/+20
| | | | llvm-svn: 135370
* Convert CallInst and InvokeInst APIs to use ArrayRef.Jay Foad2011-07-151-5/+4
| | | | llvm-svn: 135265
* De-constify Types in StructType::get() and TargetData::getIntPtrType().Jay Foad2011-07-111-2/+2
| | | | llvm-svn: 134893
* clang side to match the LLVM IR type system rewrite patch.Chris Lattner2011-07-091-30/+24
| | | | llvm-svn: 134831
* If we're using the pure non-fragile ABI, then skip some of the contortions ↵David Chisnall2011-07-071-9/+30
| | | | | | required to support the transitional ABI. llvm-svn: 134612
* Set a flag to tell the runtime when we're compiling in ARC mode and use the ↵David Chisnall2011-07-071-10/+19
| | | | | | pure-nonfragile ABI for both ARC and GC mode. llvm-svn: 134611
* Add support for weakly imported classes (GNU runtime).David Chisnall2011-06-301-5/+8
| | | | llvm-svn: 134140
* Add ARC support for the GNUstep runtime.David Chisnall2011-06-291-6/+20
| | | | llvm-svn: 134065
* Support for catching objc pointer objects in c++ catch-statementFariborz Jahanian2011-06-231-2/+2
| | | | | | in fragile abi mode and some other cleanups. // rdar://8940528 llvm-svn: 133747
* Alloa catching Objective-C id's being thrown with C++ throwFariborz Jahanian2011-06-221-2/+2
| | | | | | in Darwin's fragile abi mode. // rdar://8940528 llvm-svn: 133639
* Update to match mainline ConstantStruct::get API change. Also, use Chris Lattner2011-06-201-3/+3
| | | | | | | | | | | ConvertType on InitListExprs as they are being converted. This is needed for a forthcoming patch, and improves the IR generated anyway (see additional type names in testcases). This patch also converts a bunch of std::vector's in CGObjCMac to use C arrays. There are a ton more that should be converted as well. llvm-svn: 133413
* update for api change.Chris Lattner2011-06-181-27/+25
| | | | llvm-svn: 133365
* Automatic Reference Counting.John McCall2011-06-151-2/+2
| | | | | | | | | | Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions. Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order. llvm-svn: 133103
* Fix another incorrect type bug.David Chisnall2011-05-301-1/+1
| | | | llvm-svn: 132311
* Eliminate temporary argument vectors.Benjamin Kramer2011-05-281-15/+8
| | | | llvm-svn: 132260
* Fix another type mismatch.David Chisnall2011-05-281-2/+2
| | | | llvm-svn: 132259
* Fix missing cast.David Chisnall2011-05-281-5/+7
| | | | llvm-svn: 132258
* Remove bitcast to incorrect type.David Chisnall2011-05-251-1/+1
| | | | llvm-svn: 132077
* Fix bug introduced with r131930.David Chisnall2011-05-231-1/+2
| | | | llvm-svn: 131935
* Don't omit retain / release / autorelease message sends in hybrid GC mode.David Chisnall2011-05-231-2/+2
| | | | llvm-svn: 131932
* Fix some problems where functions must be bitcast but we're expecting a ↵David Chisnall2011-05-231-11/+14
| | | | | | | | llvm::Function of the right type. PR9994. llvm-svn: 131930
* Provide the runtime with information about the GC compile options (GNU runtimes)David Chisnall2011-05-221-4/+18
| | | | llvm-svn: 131877
* Patch to fix IR-gen crash generating structure ABI which implementsFariborz Jahanian2011-05-171-0/+4
| | | | | | | user specified string class via -fconstant-string-class option. pr9914. llvm-svn: 131496
* Simplify code a bit by using CallArgList::add. No intended functionality ↵Eli Friedman2011-05-021-9/+4
| | | | | | change. llvm-svn: 130699
* Remove a dead variable flagged by gcc's -Wunused-but-set-variable. NoNick Lewycky2011-05-021-2/+0
| | | | | | functionality change. llvm-svn: 130672
* Don't crash if the AST doesn't have a sensible ObjC id type.David Chisnall2011-04-291-4/+6
| | | | llvm-svn: 130500
* Remove unused STL header includes.Jay Foad2011-04-231-1/+0
| | | | llvm-svn: 130068
* Replace a couple of literal 8s with ASTContext::getCharWidth(). No change inKen Dyck2011-04-221-4/+8
| | | | | | functionality intended. llvm-svn: 130002
* PR9214: Convert Metadata API to use ArrayRef.Jay Foad2011-04-211-2/+2
| | | | llvm-svn: 129929
* fix a bunch of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559
OpenPOWER on IntegriCloud