| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't emit ivar offsets for unnamed bit fields. | Daniel Dunbar | 2009-04-20 | 1 | -5/+8 |
| | | | | | | | Also, added assertion that the field matches what would be looked up. llvm-svn: 69572 | ||||
| * | PR3247: Handle a couple of cases where we weren't emitting VLA sizes (and | Eli Friedman | 2009-04-20 | 2 | -1/+9 |
| | | | | | | | subsequently crashed). llvm-svn: 69567 | ||||
| * | PR3248: Make sure the evaluate the operand of a sizeof when it has a VLA type. | Eli Friedman | 2009-04-20 | 1 | -0/+4 |
| | | | | | | | Adapted from patch by Tim Northover. llvm-svn: 69566 | ||||
| * | Remove non-const form of lookupFieldDeclForIvar. | Daniel Dunbar | 2009-04-20 | 3 | -4/+7 |
| | | | | | llvm-svn: 69563 | ||||
| * | Comment fixes. | Daniel Dunbar | 2009-04-20 | 1 | -6/+6 |
| | | | | | llvm-svn: 69562 | ||||
| * | Lift GetClassSizeInfo out of GenerateClass, add a FIXME. | Daniel Dunbar | 2009-04-19 | 1 | -29/+37 |
| | | | | | | | - No functionality change. llvm-svn: 69561 | ||||
| * | PR3853: Add CodeGen support for __thread. | Eli Friedman | 2009-04-19 | 2 | -11/+6 |
| | | | | | llvm-svn: 69545 | ||||
| * | Silence gcc warning. | Eli Friedman | 2009-04-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 69541 | ||||
| * | silence a warning, it isn't clear what the right answer is here, | Chris Lattner | 2009-04-19 | 1 | -1/+1 |
| | | | | | | | will talk to steve. llvm-svn: 69519 | ||||
| * | silence a warning, I need to talk to Devang about this code. | Chris Lattner | 2009-04-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 69517 | ||||
| * | Fix rdar://6804402 - crash on objc implementations declared with | Chris Lattner | 2009-04-19 | 2 | -10/+23 |
| | | | | | | | | @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 Dunbar | 2009-04-19 | 1 | -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 | ||||
| * | revert david's patch, which causes a testsuite failure. | Chris Lattner | 2009-04-19 | 1 | -3/+2 |
| | | | | | llvm-svn: 69501 | ||||
| * | Reuse ObjcIvarOffsetVariable instead of duplicating code. | Daniel Dunbar | 2009-04-19 | 1 | -22/+9 |
| | | | | | | | - No functionality change (but added a FIXME). llvm-svn: 69496 | ||||
| * | Remove some unnecessary complexity. | Daniel Dunbar | 2009-04-19 | 1 | -11/+5 |
| | | | | | | | - No functionality change. llvm-svn: 69495 | ||||
| * | "This patch fixes message sends to super in class methods for the GNU ↵ | Chris Lattner | 2009-04-18 | 1 | -2/+3 |
| | | | | | | | | | runtime (currently an instance method lookup is being performed)." Patch by David Chisnall! llvm-svn: 69493 | ||||
| * | Use EmitCallArgs in EmitObjCMessageExpr. | Anders Carlsson | 2009-04-18 | 1 | -4/+1 |
| | | | | | llvm-svn: 69471 | ||||
| * | Make CodeGenFunction::EmitCallArgs a template function that takes a generic ↵ | Anders Carlsson | 2009-04-18 | 2 | -38/+38 |
| | | | | | | | "Type Info" parameter. The type info parameter knows how to iterate over its arguments. llvm-svn: 69469 | ||||
| * | Use getAsPointerType instead of using getCanonicalType directly. | Daniel Dunbar | 2009-04-18 | 1 | -10/+6 |
| | | | | | | | - <rdar://problem/6803995> llvm-svn: 69435 | ||||
| * | Fix a bug found by inspection, class/meta references could be emitted | Daniel Dunbar | 2009-04-18 | 1 | -17/+39 |
| | | | | | | | into the wrong section (they shared the same lookup table). llvm-svn: 69433 | ||||
| * | fix incorrect lowering of __builtin_ia32_shufpd, rdar://6803924 | Chris Lattner | 2009-04-18 | 1 | -1/+2 |
| | | | | | llvm-svn: 69428 | ||||
| * | FunctionDecl::getBody() is getting an ASTContext argument for use in | Douglas Gregor | 2009-04-18 | 3 | -5/+5 |
| | | | | | | | | | lazy PCH deserialization. Propagate that argument wherever it needs to be. No functionality change, except that I've tightened up a few PCH tests in preparation. llvm-svn: 69406 | ||||
| * | fix a crash compiling code with its own definition of objc_assign_weak. | Chris Lattner | 2009-04-17 | 1 | -5/+11 |
| | | | | | | | rdar://6800430 llvm-svn: 69392 | ||||
| * | Use PresumedLoc to record line number in debug info entries. | Devang Patel | 2009-04-17 | 1 | -11/+22 |
| | | | | | llvm-svn: 69389 | ||||
| * | Don't put msgrefs in used globals (in particular, we don't want | Daniel Dunbar | 2009-04-17 | 1 | -1/+0 |
| | | | | | | | no-dead-strip set on them). llvm-svn: 69388 | ||||
| * | Appropriately set file name and directory name in debug info compile units. | Devang Patel | 2009-04-17 | 2 | -27/+31 |
| | | | | | llvm-svn: 69387 | ||||
| * | Fix rdar://6800926 - crash compiling non-fragile _Bool bitfield ivar, | Chris Lattner | 2009-04-17 | 1 | -5/+5 |
| | | | | | | | | the functional change here is changing ConvertType -> ConvertTypeForMem so that we handle i1 fields properly as memory. llvm-svn: 69361 | ||||
| * | tidy some code. | Chris Lattner | 2009-04-17 | 1 | -5/+2 |
| | | | | | llvm-svn: 69360 | ||||
| * | Add support for generating (very basic) C++ destructors. These aren't called ↵ | Anders Carlsson | 2009-04-17 | 5 | -40/+143 |
| | | | | | | | by anything yet. llvm-svn: 69343 | ||||
| * | Attributes on block functions were not being set. | Daniel Dunbar | 2009-04-17 | 4 | -8/+16 |
| | | | | | | | | - <rdar://problem/6800351> clang not producing correct large struct return code for Blocks llvm-svn: 69337 | ||||
| * | Implement basic code generation of constructor calls. We can now compile: | Anders Carlsson | 2009-04-17 | 4 | -0/+71 |
| | | | | | | | | | | | | | struct S { S(int, int); }; void f() { S s(10, 10); } llvm-svn: 69330 | ||||
| * | Add GetAddrOfCXXConstructor and use it. | Anders Carlsson | 2009-04-16 | 2 | -5/+16 |
| | | | | | llvm-svn: 69328 | ||||
| * | Removed a no longer needed FIXME comment. | Fariborz Jahanian | 2009-04-16 | 1 | -2/+0 |
| | | | | | llvm-svn: 69315 | ||||
| * | Category method synbols must be qualified by gategory name to | Fariborz Jahanian | 2009-04-16 | 1 | -0/+6 |
| | | | | | | | match gcc's. llvm-svn: 69305 | ||||
| * | Fix a crash bug when comparing overload quality of conversion operators with ↵ | Sebastian Redl | 2009-04-16 | 1 | -55/+56 |
| | | | | | | | | | | | | conversion constructors. Remove an atrocious amount of trailing whitespace in the overloaded operator mangler. Sorry, couldn't help myself. Change the DeclType parameter of Sema::CheckReferenceInit to be passed by value instead of reference. It wasn't changed anywhere. Let the parser handle C++'s irregular grammar around assignment-expression and conditional-expression. And finally, the reason for all this stuff: implement C++ semantics for the conditional operator. The implementation is complete except for determining lvalueness. llvm-svn: 69299 | ||||
| * | Ensure that the most recent declaration of a tentative definition wins | Daniel Dunbar | 2009-04-16 | 1 | -3/+5 |
| | | | | | | | when generating a common definition. llvm-svn: 69287 | ||||
| * | Fixup codegen for copy/dispose for block literals. Radar 6791245 | Mike Stump | 2009-04-15 | 1 | -4/+10 |
| | | | | | llvm-svn: 69232 | ||||
| * | Defer generation of tentative definitions. | Daniel Dunbar | 2009-04-15 | 2 | -31/+46 |
| | | | | | | | | | | | | | | | - PR3980. - <rdar://problem/6762287> [irgen] crash when generating tentative definition of incomplete structure - This also avoids creating common definitions for things which are later overwritten. - XFAIL'ed external-defs.c, it isn't completing types properly yet. llvm-svn: 69231 | ||||
| * | Set DebugInfo at the beginning of GenerateBlockFunction(). | Devang Patel | 2009-04-15 | 1 | -0/+5 |
| | | | | | llvm-svn: 69228 | ||||
| * | Actually generate code for the simple constructors we know we can generate ↵ | Anders Carlsson | 2009-04-15 | 1 | -1/+22 |
| | | | | | | | code for. llvm-svn: 69222 | ||||
| * | Don't use \01 in symbol name if unnecessary. | Daniel Dunbar | 2009-04-15 | 1 | -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 Dunbar | 2009-04-15 | 1 | -2/+1 |
| | | | | | llvm-svn: 69199 | ||||
| * | 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 | ||||
| * | Start attempting to generate code for C++ ctors. | Anders Carlsson | 2009-04-15 | 3 | -5/+65 |
| | | | | | llvm-svn: 69168 | ||||
| * | Add support for mangling C++ constructors. Review appreciated (I'm looking ↵ | Anders Carlsson | 2009-04-15 | 2 | -10/+57 |
| | | | | | | | at you, Doug) llvm-svn: 69150 | ||||
| * | Add CGCXX.h with ctor/dtor type enumerations. No functionality change. | Anders Carlsson | 2009-04-15 | 1 | -0/+36 |
| | | | | | llvm-svn: 69137 | ||||
| * | Simplify CodeGenFunction::GenerateCode. | Anders Carlsson | 2009-04-15 | 1 | -9/+4 |
| | | | | | llvm-svn: 69134 | ||||
| * | 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 | ||||

