Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | For consistency, use llvm::raw_ostream in the rest of the mangle api. | Rafael Espindola | 2011-02-11 | 1 | -1/+3 |
| | | | | llvm-svn: 125360 | ||||
* | Change CodeGenModule::setTypeVisibility to take a TypeVisibilityKind enum ↵ | Anders Carlsson | 2011-01-29 | 1 | -1/+1 |
| | | | | | | instead of an "IsForRTTI" flag. llvm-svn: 124546 | ||||
* | Give VTTs the right visibility. | Anders Carlsson | 2011-01-29 | 1 | -0/+3 |
| | | | | llvm-svn: 124540 | ||||
* | Make emitting a VTT a two-step process, much like emitting a VTable. You ↵ | Anders Carlsson | 2011-01-29 | 1 | -42/+31 |
| | | | | | | first get the address of the VTT, and then pass it to EmitVTTDefinition. llvm-svn: 124539 | ||||
* | Also set unnamed_addr on declarations. | Rafael Espindola | 2011-01-15 | 1 | -2/+1 |
| | | | | llvm-svn: 123531 | ||||
* | Only add unnamed_addr to definitions. | Rafael Espindola | 2011-01-13 | 1 | -1/+2 |
| | | | | llvm-svn: 123354 | ||||
* | Set unnamed_addr in VTTs. | Rafael Espindola | 2011-01-11 | 1 | -0/+1 |
| | | | | llvm-svn: 123280 | ||||
* | Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual. | Anders Carlsson | 2010-11-24 | 1 | -1/+1 |
| | | | | llvm-svn: 120133 | ||||
* | Rename getBaseClassOffset to getBaseClassOffsetInBits and introduce a ↵ | Anders Carlsson | 2010-10-31 | 1 | -4/+5 |
| | | | | | | getBaseClassOffset which returns the offset in CharUnits. Do the same thing for getVBaseClassOffset. llvm-svn: 117881 | ||||
* | Better solution: calculate the visibility of functions and variables | John McCall | 2010-10-30 | 1 | -1/+1 |
| | | | | | | | | | | independently of whether they're definitions, then teach IR generation to ignore non-explicit visibility when emitting declarations. Use this to make sure that RTTI, vtables, and VTTs get the right visibility. More of rdar://problem/8613093 llvm-svn: 117781 | ||||
* | Teach IR generation to return 'this' from constructors and destructors | John McCall | 2010-08-31 | 1 | -1/+2 |
| | | | | | | under the ARM ABI. llvm-svn: 112588 | ||||
* | The global variable for the VTT might not have external linkage; allow | Douglas Gregor | 2010-05-06 | 1 | -1/+1 |
| | | | | | | | us to find local variables, too. Fixes the last remaining Boost.Rational failure. llvm-svn: 103203 | ||||
* | Store the entire base subobject in SubVTTIndices. | Anders Carlsson | 2010-05-03 | 1 | -10/+9 |
| | | | | llvm-svn: 102890 | ||||
* | Have getSubVTTIndex take a BaseSubobject instead of just a base. | Anders Carlsson | 2010-05-02 | 1 | -2/+2 |
| | | | | llvm-svn: 102885 | ||||
* | Clarify an assertion. | Anders Carlsson | 2010-04-11 | 1 | -1/+2 |
| | | | | llvm-svn: 100986 | ||||
* | Remove the old vtable layout code. | Anders Carlsson | 2010-03-30 | 1 | -3/+0 |
| | | | | llvm-svn: 99869 | ||||
* | Use the newly added function in the VTT builder. | Anders Carlsson | 2010-03-29 | 1 | -3/+2 |
| | | | | llvm-svn: 99799 | ||||
* | Fix thinko. | Anders Carlsson | 2010-03-29 | 1 | -1/+1 |
| | | | | llvm-svn: 99788 | ||||
* | Two bug fixes, we weren't updating the thunk index when creating the vtable ↵ | Anders Carlsson | 2010-03-29 | 1 | -0/+7 |
| | | | | | | initializer and we weren't storing the secondary virtual pointer indices. llvm-svn: 99786 | ||||
* | Add and implement CodeGenVTables::getSecondaryVirtualPointerIndex (not used ↵ | Anders Carlsson | 2010-03-26 | 1 | -9/+50 |
| | | | | | | yet). llvm-svn: 99608 | ||||
* | More cleanup. | Anders Carlsson | 2010-03-26 | 1 | -178/+47 |
| | | | | llvm-svn: 99605 | ||||
* | Way more VTT builder cleanup. | Anders Carlsson | 2010-03-26 | 1 | -28/+193 |
| | | | | llvm-svn: 99604 | ||||
* | More VTT builder cleanup. | Anders Carlsson | 2010-03-26 | 1 | -22/+31 |
| | | | | llvm-svn: 99588 | ||||
* | More VTT cleanup. | Anders Carlsson | 2010-03-26 | 1 | -22/+43 |
| | | | | llvm-svn: 99586 | ||||
* | Start cleaning up the VTT builder to make it work more like the VTable builder. | Anders Carlsson | 2010-03-26 | 1 | -51/+66 |
| | | | | llvm-svn: 99581 | ||||
* | Remove some VTT builder arguments that were always zero. | Anders Carlsson | 2010-03-26 | 1 | -20/+13 |
| | | | | llvm-svn: 99576 | ||||
* | More address point map shuffling. | Anders Carlsson | 2010-03-25 | 1 | -1/+1 |
| | | | | llvm-svn: 99462 | ||||
* | Shuffle some code around; this will make it easier to use the new layout ↵ | Anders Carlsson | 2010-03-25 | 1 | -32/+4 |
| | | | | | | code for address points. llvm-svn: 99461 | ||||
* | Use getNamedGlobal instead of getGlobalVariable. (Fixes self-host). | Anders Carlsson | 2010-03-24 | 1 | -1/+1 |
| | | | | llvm-svn: 99385 | ||||
* | More vtable work; preparations for moving over to the new vtable layout code ↵ | Anders Carlsson | 2010-03-24 | 1 | -1/+1 |
| | | | | | | (finally). llvm-svn: 99381 | ||||
* | Rename CGVtableInfo to CodeGenVTables in preparation of adding another ↵ | Anders Carlsson | 2010-03-23 | 1 | -17/+15 |
| | | | | | | VTableInfo class. llvm-svn: 99250 | ||||
* | Pass information about whether a base is virtual or not down to ↵ | Anders Carlsson | 2010-02-28 | 1 | -9/+12 |
| | | | | | | getCtorVtable, we need this information in the vtable builder. llvm-svn: 97356 | ||||
* | Move the VTT related code into its own file, CGVTT.cpp | Anders Carlsson | 2010-01-21 | 1 | -0/+398 |
llvm-svn: 94079 |