aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
AgeCommit message (Expand)Author
2009-12-11Improve linkage of RTTI data structures. Introduce CodeGenModule::GetAddrOfRT...Anders Carlsson
2009-12-08Slight tweak to vtable linkage.Eli Friedman
2009-12-07A bunch more thunk fixes from misc testing.Eli Friedman
2009-12-07It's OK to try to emit a vtable definition more than once. Fixes PR5697.Anders Carlsson
2009-12-07Erm, revert for the moment; I didn't test this as thoroughly as I should haveEli Friedman
2009-12-07Tweak the formula for non-virtual offsets to something which appears a bitEli Friedman
2009-12-07Move key functions to a separate map.Anders Carlsson
2009-12-06Be a bit more complete about accumulating SavedThisAdjustments.Eli Friedman
2009-12-06Work-in-progess rewrite of thunks: move thunk generation outside of vtableEli Friedman
2009-12-06Set the correct linkage for VTTs as well.Anders Carlsson
2009-12-06More linkage improvements.Anders Carlsson
2009-12-06Pass the desired vtable linkage to GenerateVtable directly. Only call MaybeMa...Anders Carlsson
2009-12-06Make GenerateVtable a private member function of CGVtableInfo.Anders Carlsson
2009-12-05Only emit the vtable definition if the class has a key function and we're emi...Anders Carlsson
2009-12-05If a class does not have a key function, its linkage should be weak_odr.Anders Carlsson
2009-12-05Use createGlobalVariable for creating vtable variables too.Anders Carlsson
2009-12-05CodeGenModule::GenerateVtable now returns a pointer directly to the vtable an...Anders Carlsson
2009-12-05Make sure that hte vtable always has an i8* array type.Anders Carlsson
2009-12-05Add a function for getting the vtable address point of a class.Anders Carlsson
2009-12-05Simplify BuildVTT.Anders Carlsson
2009-12-05Let the VTT builder pretend that getVtable returns a pointer to the vtable an...Anders Carlsson
2009-12-05Change getCtorVtable to not return the address point offset, but the global v...Anders Carlsson
2009-12-05Factor vtable related GlobalVariable creation out into a separate function. A...Anders Carlsson
2009-12-05Skip actually generating the vtable unless we are defining it. This avoidsEli Friedman
2009-12-04Return bool as a bool instead of a uint64_t.Benjamin Kramer
2009-12-04Rename 'Class' to 'MostDerivedClass'Anders Carlsson
2009-12-04Store the vtable components in a SmallVector.Anders Carlsson
2009-12-04Use a different ConstantArray::get.Anders Carlsson
2009-12-04Move the vtable vector directly into the Vtable builder.Anders Carlsson
2009-12-04Change getIndex to return false if the index wasn't found. Avoids an extra ha...Anders Carlsson
2009-12-04Minor cleanup; no functionality change.Eli Friedman
2009-12-04Remove unused argument.Eli Friedman
2009-12-04Eliminate submethods vector.Eli Friedman
2009-12-04Eliminate the inner loop in VtableBuilder::OverrideMethod.Eli Friedman
2009-12-04Make sure that overridden method decls are always canonical.Anders Carlsson
2009-12-04Fix regression in vtable improvements.Eli Friedman
2009-12-04Rename method to something easier to search for.Eli Friedman
2009-12-04More work in preparation of getting rid of the submethods loop.Anders Carlsson
2009-12-04Remove an unused member variable.Anders Carlsson
2009-12-04Add a way to get the index of a method. Assert that we have the same index fo...Anders Carlsson
2009-12-04Add a premature optimization.Anders Carlsson
2009-12-04Add the method directly to the vtable.Anders Carlsson
2009-12-04Get rid of the PureVirtualMethods map.Anders Carlsson
2009-12-04Move handling of pure virtual methods to AppendMethods (and rename it to Appe...Anders Carlsson
2009-12-04Move covariant thunk handling to AppendMethods too.Anders Carlsson
2009-12-04Move 'this' pointer adjustment thunks to AppendMethods.Anders Carlsson
2009-12-04Factor appending methods to a vtable out into a separate function.Anders Carlsson
2009-12-04Get rid of the Thunks struct too.Anders Carlsson
2009-12-04Remove the CovariantThunk struct.Anders Carlsson
2009-12-04Remove the GlobalDecl from the Thunk as well.Anders Carlsson