| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update for LLVM API change. | Owen Anderson | 2009-08-05 | 15 | -88/+113 |
| | | | | | llvm-svn: 78259 | ||||
| * | Refactor some bits. | Mike Stump | 2009-08-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 78254 | ||||
| * | Calculate the primary base class better and use that when laying down | Mike Stump | 2009-08-05 | 1 | -11/+36 |
| | | | | | | | the vtable. Still a work in progress. llvm-svn: 78252 | ||||
| * | cgobjcgnu was making invalid common globals. | Chris Lattner | 2009-08-05 | 1 | -2/+2 |
| | | | | | llvm-svn: 78161 | ||||
| * | weak globals that are const should get weak_odr linkage. | Chris Lattner | 2009-08-05 | 1 | -6/+19 |
| | | | | | | | add a fixme about C++ const. llvm-svn: 78159 | ||||
| * | rdar://7119244 - globals with an explicit section specified don't get | Chris Lattner | 2009-08-05 | 1 | -1/+2 |
| | | | | | | | common linkage. llvm-svn: 78158 | ||||
| * | vtable building for simple inheritance. Still in progress. | Mike Stump | 2009-08-04 | 1 | -1/+18 |
| | | | | | llvm-svn: 78110 | ||||
| * | Will I ever get used to CamelCase? Will I ever like capitols for | Mike Stump | 2009-08-04 | 1 | -7/+5 |
| | | | | | | | | | | random variables? --This line, and those below, will be ignored-- M lib/CodeGen/CGCXX.cpp llvm-svn: 78094 | ||||
| * | Revert the fix for PR3800, it broke things. | Anders Carlsson | 2009-08-04 | 1 | -2/+5 |
| | | | | | llvm-svn: 78084 | ||||
| * | Simplify alignment handling in the record builder. | Anders Carlsson | 2009-08-04 | 1 | -12/+18 |
| | | | | | llvm-svn: 78069 | ||||
| * | Make sure UTF-16 strings end with a 16-bit null (as opposed to 8-bit). | Daniel Dunbar | 2009-08-03 | 1 | -0/+3 |
| | | | | | llvm-svn: 78001 | ||||
| * | When generating cleanup blocks for Obj-C @finally, mark them as catch all blocks | Daniel Dunbar | 2009-08-03 | 1 | -1/+4 |
| | | | | | | | | | from the perspective of LLVM exception handling. Otherwise the C++ personality function may decide not to run them, if it only detects cleanup handlers. - Test case for this is exceptions.m in llvm-test. llvm-svn: 77999 | ||||
| * | assert(nyi) on attempt to destruct an array of objects. | Fariborz Jahanian | 2009-08-03 | 1 | -2/+6 |
| | | | | | llvm-svn: 77993 | ||||
| * | ir-gen for destructor calls. | Fariborz Jahanian | 2009-08-03 | 1 | -0/+12 |
| | | | | | llvm-svn: 77991 | ||||
| * | Formatting fixes (trailing whitespace, 80-cols, indentation). | Daniel Dunbar | 2009-08-03 | 1 | -1081/+1088 |
| | | | | | llvm-svn: 77972 | ||||
| * | Whoops, meant to delete this. | Anders Carlsson | 2009-08-02 | 1 | -1/+0 |
| | | | | | llvm-svn: 77916 | ||||
| * | use CodeGenModule::EmitNullConstant in a couple of places. | Anders Carlsson | 2009-08-02 | 3 | -4/+4 |
| | | | | | llvm-svn: 77915 | ||||
| * | Remove old code that was causing the new test to fail. | Anders Carlsson | 2009-08-02 | 1 | -3/+0 |
| | | | | | llvm-svn: 77862 | ||||
| * | Don't evaluate inout constraints twice. Fixes PR3800. | Anders Carlsson | 2009-08-02 | 1 | -2/+2 |
| | | | | | llvm-svn: 77854 | ||||
| * | Use Twine instead of utostr | Daniel Dunbar | 2009-08-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 77848 | ||||
| * | Fix a minor issue with unions in the new struct building code. | Eli Friedman | 2009-08-01 | 1 | -2/+5 |
| | | | | | llvm-svn: 77829 | ||||
| * | Don't error on C++ linkage; if we don't support that, there are | Eli Friedman | 2009-08-01 | 1 | -1/+2 |
| | | | | | | | serious issues :) llvm-svn: 77800 | ||||
| * | Add beginnigs of rtti generation, wire up more of -fno-exceptions. | Mike Stump | 2009-07-31 | 4 | -5/+53 |
| | | | | | llvm-svn: 77751 | ||||
| * | Remove the old struct builder code. | Anders Carlsson | 2009-07-31 | 1 | -177/+1 |
| | | | | | llvm-svn: 77738 | ||||
| * | And now we can generate a simple vtable. Still a work in progress... | Mike Stump | 2009-07-31 | 1 | -11/+23 |
| | | | | | llvm-svn: 77737 | ||||
| * | Move code from EmitUnion directly into the function that handles cast-to-union. | Anders Carlsson | 2009-07-31 | 1 | -2/+28 |
| | | | | | llvm-svn: 77735 | ||||
| * | Use the struct builder for unions. | Anders Carlsson | 2009-07-31 | 1 | -0/+2 |
| | | | | | llvm-svn: 77732 | ||||
| * | Fixup spacing and 80-col violations. | Mike Stump | 2009-07-31 | 1 | -20/+27 |
| | | | | | llvm-svn: 77731 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-31 | 14 | -84/+84 |
| | | | | | llvm-svn: 77722 | ||||
| * | Add code to setup the vtable pointer in the constructor. Work in progress. | Mike Stump | 2009-07-31 | 5 | -11/+72 |
| | | | | | llvm-svn: 77699 | ||||
| * | Fix spacing. | Mike Stump | 2009-07-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 77688 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-31 | 3 | -10/+10 |
| | | | | | llvm-svn: 77686 | ||||
| * | Synthesize the default constructor which has not | Fariborz Jahanian | 2009-07-30 | 2 | -1/+19 |
| | | | | | | | been declared as needed. llvm-svn: 77641 | ||||
| * | Update for LLVM API changes. | Owen Anderson | 2009-07-30 | 7 | -23/+23 |
| | | | | | llvm-svn: 77638 | ||||
| * | Canonicalize else spacing. | Mike Stump | 2009-07-30 | 10 | -70/+33 |
| | | | | | llvm-svn: 77629 | ||||
| * | Note some other limitations. | Mike Stump | 2009-07-30 | 1 | -1/+9 |
| | | | | | llvm-svn: 77626 | ||||
| * | Patch for future ir-gen for destructor calls. | Fariborz Jahanian | 2009-07-30 | 3 | -2/+49 |
| | | | | | llvm-svn: 77608 | ||||
| * | Remove bogus "unsupported" case for vectors (which shouldn't | Eli Friedman | 2009-07-30 | 1 | -2/+1 |
| | | | | | | | | | | | ever trigger). Add an "unsupported" case that triggers for C++ code. It would be nice if someone would implement this properly... it shouldn't be too hard, but I haven't looked closely at the relevant code. llvm-svn: 77562 | ||||
| * | Add ability to layout the vtable pointer in trivial cases. I noticed | Mike Stump | 2009-07-30 | 1 | -2/+0 |
| | | | | | | | | | that we would silently do bad things with virtual bases in the layout code, so, we just turn them off. When people do better things with them, we can turn them back on. llvm-svn: 77556 | ||||
| * | ir-gen for nested non-virtual base member access | Fariborz Jahanian | 2009-07-30 | 1 | -5/+47 |
| | | | | | | | in current class. llvm-svn: 77554 | ||||
| * | Eliminate an unused-variable warning | Douglas Gregor | 2009-07-29 | 1 | -1/+0 |
| | | | | | llvm-svn: 77518 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 13 | -319/+314 |
| | | | | | llvm-svn: 77514 | ||||
| * | Change uses of: | Ted Kremenek | 2009-07-29 | 11 | -31/+31 |
| | | | | | | | | | | | | | | | | | | | | | Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>() Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>() Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>() Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>() Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsTagType() -> Type::getAs<TagType>() And remove Type::getAsReferenceType(), etc. This change is similar to one I made a couple weeks ago, but that was partly reverted pending some additional design discussion. With Doug's pending smart pointer changes for Types, it seemed natural to take this approach. llvm-svn: 77510 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 7 | -93/+93 |
| | | | | | llvm-svn: 77492 | ||||
| * | No longer need to keep base class offsets in the offset | Fariborz Jahanian | 2009-07-29 | 2 | -7/+0 |
| | | | | | | | table as it has its own place now. llvm-svn: 77491 | ||||
| * | Patch to provide cast of objects in member access | Fariborz Jahanian | 2009-07-29 | 1 | -16/+0 |
| | | | | | | | | excpression, if needed, and remove some ir-gen code now unnencessary. llvm-svn: 77490 | ||||
| * | Use the existing API for base offset. Use suitable llvm type | Fariborz Jahanian | 2009-07-29 | 1 | -20/+4 |
| | | | | | | | for offset ir-gen. llvm-svn: 77458 | ||||
| * | Code refactoring to define getCXXRecordDeclForPointerType | Fariborz Jahanian | 2009-07-29 | 2 | -22/+14 |
| | | | | | | | and use it in several places. llvm-svn: 77411 | ||||
| * | ir-gen derived-to-base conversion in implicit casts. | Fariborz Jahanian | 2009-07-28 | 1 | -1/+15 |
| | | | | | llvm-svn: 77374 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-28 | 3 | -11/+11 |
| | | | | | llvm-svn: 77368 | ||||

