| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Move 'this' pointer adjustment thunks to AppendMethods. | Anders Carlsson | 2009-12-04 | 1 | -15/+13 | |
| | | | | | llvm-svn: 90527 | |||||
| * | Factor appending methods to a vtable out into a separate function. | Anders Carlsson | 2009-12-04 | 1 | -6/+13 | |
| | | | | | llvm-svn: 90525 | |||||
| * | Get rid of the Thunks struct too. | Anders Carlsson | 2009-12-04 | 1 | -26/+16 | |
| | | | | | llvm-svn: 90524 | |||||
| * | Remove the CovariantThunk struct. | Anders Carlsson | 2009-12-04 | 1 | -23/+15 | |
| | | | | | llvm-svn: 90523 | |||||
| * | Remove the GlobalDecl from the Thunk as well. | Anders Carlsson | 2009-12-04 | 1 | -7/+5 | |
| | | | | | llvm-svn: 90522 | |||||
| * | Remove the GlobalDecl from the CovariantThunk struct, we can just look it up ↵ | Anders Carlsson | 2009-12-04 | 1 | -8/+5 | |
| | | | | | | | in the Methods table now. llvm-svn: 90519 | |||||
| * | Start populating the VtableMembers structure. | Anders Carlsson | 2009-12-04 | 1 | -1/+10 | |
| | | | | | llvm-svn: 90517 | |||||
| * | Add a data structure for efficient storing of vtable methods. Not used yet. | Anders Carlsson | 2009-12-04 | 1 | -0/+57 | |
| | | | | | llvm-svn: 90515 | |||||
| * | Eli, I copied my code from this code... Let's fix the souce of the bad idea! | Mike Stump | 2009-12-03 | 1 | -4/+1 | |
| | | | | | | | Thanks. llvm-svn: 90458 | |||||
| * | Attempt to fix the MSVC build. | Anders Carlsson | 2009-12-03 | 1 | -4/+4 | |
| | | | | | llvm-svn: 90427 | |||||
| * | Add support for thunking dtors. Oh why does this make my head hurt? | Mike Stump | 2009-12-03 | 1 | -1/+1 | |
| | | | | | llvm-svn: 90409 | |||||
| * | Revert r90402 for now, virt.cpp is failing. | Anders Carlsson | 2009-12-03 | 1 | -11/+9 | |
| | | | | | llvm-svn: 90406 | |||||
| * | Use Eli's ComputeThunkAdjustment for calculating the return adjustment. | Anders Carlsson | 2009-12-03 | 1 | -9/+11 | |
| | | | | | llvm-svn: 90402 | |||||
| * | Remove the index from the Thunk struct. | Anders Carlsson | 2009-12-03 | 1 | -14/+10 | |
| | | | | | llvm-svn: 90400 | |||||
| * | Change the Thunks map to use the vtable index as the key. | Anders Carlsson | 2009-12-03 | 1 | -7/+9 | |
| | | | | | llvm-svn: 90399 | |||||
| * | Add the global decl to the Thunk struct. | Anders Carlsson | 2009-12-03 | 1 | -5/+7 | |
| | | | | | llvm-svn: 90398 | |||||
| * | Remove unused struct fields. | Anders Carlsson | 2009-12-03 | 1 | -7/+2 | |
| | | | | | llvm-svn: 90397 | |||||
| * | Delay computing the return adjustments for covariant thunks until when they ↵ | Anders Carlsson | 2009-12-03 | 1 | -98/+113 | |
| | | | | | | | are added to the vtable. llvm-svn: 90396 | |||||
| * | No need to create the covariant thunk in both places now. | Anders Carlsson | 2009-12-03 | 1 | -12/+5 | |
| | | | | | llvm-svn: 90394 | |||||
| * | Whoops, forgot to save :) | Anders Carlsson | 2009-12-03 | 1 | -2/+4 | |
| | | | | | llvm-svn: 90393 | |||||
| * | Remove the index field from the CovariantThunk structure. | Anders Carlsson | 2009-12-03 | 1 | -14/+6 | |
| | | | | | llvm-svn: 90392 | |||||
| * | Change the CovariantThunk map to use the vtable index as its key. | Anders Carlsson | 2009-12-03 | 1 | -9/+9 | |
| | | | | | llvm-svn: 90391 | |||||
| * | Store a GlobalDecl in the return adjustment. | Anders Carlsson | 2009-12-03 | 1 | -4/+7 | |
| | | | | | llvm-svn: 90387 | |||||
| * | Do not include the 'this' pointer adjustment in the covariant return type. ↵ | Anders Carlsson | 2009-12-03 | 1 | -26/+39 | |
| | | | | | | | Instead, store it in the (now oddly named) Thunks map. llvm-svn: 90386 | |||||
| * | Move VtableBuilder::OverrideMethod out of line in preparation of other ↵ | Anders Carlsson | 2009-12-03 | 1 | -112/+117 | |
| | | | | | | | changes to it. No functionality change. llvm-svn: 90382 | |||||
| * | Turn off for now. | Mike Stump | 2009-12-02 | 1 | -2/+2 | |
| | | | | | llvm-svn: 90339 | |||||
| * | Put the Builder classes into the anonymous namespace. | Mike Stump | 2009-12-02 | 1 | -1/+2 | |
| | | | | | llvm-svn: 90335 | |||||
| * | Change rtti/Rtti to RTTI, as it is an acronym. | Mike Stump | 2009-12-02 | 1 | -3/+3 | |
| | | | | | llvm-svn: 90334 | |||||
| * | Have ASTRecordLayout keep track of the key function, in preparation of ↵ | Anders Carlsson | 2009-11-30 | 1 | -8/+35 | |
| | | | | | | | fixing a synthetic ctor/dtor bug. llvm-svn: 90168 | |||||
| * | Fix an assert. | Anders Carlsson | 2009-11-30 | 1 | -2/+2 | |
| | | | | | llvm-svn: 90149 | |||||
| * | Minor cleanup (no functionality change). | Eli Friedman | 2009-11-30 | 1 | -23/+12 | |
| | | | | | llvm-svn: 90105 | |||||
| * | Remove remaining VISIBILITY_HIDDEN from anonymous namespaces. | Benjamin Kramer | 2009-11-28 | 1 | -3/+1 | |
| | | | | | llvm-svn: 90044 | |||||
| * | We always want to create a virtual function pointer entry if the path from ↵ | Anders Carlsson | 2009-11-28 | 1 | -27/+5 | |
| | | | | | | | the derived return value to the base overridden return value contains a virtual base class. llvm-svn: 90024 | |||||
| * | Move the vtable builder to an anonymous namespace. | Anders Carlsson | 2009-11-27 | 1 | -1/+5 | |
| | | | | | llvm-svn: 90021 | |||||
| * | Don't build the entire vtable when all we want is the index of a virtual method. | Anders Carlsson | 2009-11-27 | 1 | -13/+233 | |
| | | | | | llvm-svn: 90017 | |||||
| * | Lazily create the __cxa_pure_virtual reference. | Anders Carlsson | 2009-11-26 | 1 | -11/+19 | |
| | | | | | llvm-svn: 89965 | |||||
| * | Use the new CovariantThunkAdjustment in the vtable builder. | Anders Carlsson | 2009-11-26 | 1 | -49/+63 | |
| | | | | | | | Make the pure virtual methods map a set instead. llvm-svn: 89961 | |||||
| * | Add a Thunk struct to the vtable builder. | Anders Carlsson | 2009-11-26 | 1 | -19/+45 | |
| | | | | | llvm-svn: 89935 | |||||
| * | Add a CovariantThunkAdjustment struct that represents the adjustments needed ↵ | Anders Carlsson | 2009-11-26 | 1 | -2/+4 | |
| | | | | | | | for a covariant thunk. llvm-svn: 89933 | |||||
| * | Add a ThunkAdjustment struct which holds a non-virtual and a virtual ↵ | Anders Carlsson | 2009-11-26 | 1 | -1/+2 | |
| | | | | | | | adjustment offset. Start using it. General cleanup in Mangle.cpp. llvm-svn: 89925 | |||||
| * | It is common for vtables to contain pointers to functions that have either ↵ | Anders Carlsson | 2009-11-24 | 1 | -4/+1 | |
| | | | | | | | | | incomplete return types or incomplete argument types. Handle this by returning the llvm::OpaqueType for those cases, which CodeGenModule::GetOrCreateLLVMFunction knows about, and treats as being an "incomplete function". llvm-svn: 89736 | |||||
| * | IRgen: Switch the C++ mangler interfaces to take the SmallVector to write into, | Daniel Dunbar | 2009-11-21 | 1 | -7/+5 | |
| | | | | | | | | instead of requiring clients to make a raw_svector_ostream, which is just an implementation detail. llvm-svn: 89548 | |||||
| * | Sink free mangle* methods into MangleContext. | Daniel Dunbar | 2009-11-21 | 1 | -3/+3 | |
| | | | | | llvm-svn: 89547 | |||||
| * | Fixup address point computations. WIP. | Mike Stump | 2009-11-19 | 1 | -18/+26 | |
| | | | | | llvm-svn: 89386 | |||||
| * | Refine vtable, rtti and rtti name instantiation so that they follow | Mike Stump | 2009-11-19 | 1 | -24/+78 | |
| | | | | | | | | | | | | the key function. All the code is wired up, but won't work yet, as I had to turn off key function calculation as it doesn't work yet. Also, we refine visibility of the vtable, rtti and rtti name to match the class, as well as as arrange for all the symbols to be internal for anonymous namespace entities. llvm-svn: 89309 | |||||
| * | Improve instantiation control for rtti data and allow key functions to | Mike Stump | 2009-11-19 | 1 | -0/+6 | |
| | | | | | | | instantiate a class. WIP. llvm-svn: 89289 | |||||
| * | Refine linkage on thunks. WIP. | Mike Stump | 2009-11-19 | 1 | -2/+1 | |
| | | | | | llvm-svn: 89287 | |||||
| * | Set up vtable visibility appropriately. | Mike Stump | 2009-11-18 | 1 | -7/+12 | |
| | | | | | llvm-svn: 89193 | |||||
| * | Finisgh off rest of class_type_info rtti generation. | Mike Stump | 2009-11-14 | 1 | -1/+2 | |
| | | | | | llvm-svn: 88823 | |||||
| * | Handle descructor printing better. | Mike Stump | 2009-11-13 | 1 | -6/+7 | |
| | | | | | llvm-svn: 88723 | |||||

