Peter Collingbourne
|
24018467dd
Move VTable builder to AST
|
14 år sedan |
Peter Collingbourne
|
ab172b5858
Have CodeGenVTables::GenerateConstructionVTable use VTableLayout
|
14 år sedan |
Peter Collingbourne
|
e00fe697cc
Implement VTableContext::createConstructionVTableLayout
|
14 år sedan |
Peter Collingbourne
|
e09cdf46aa
Move all vtable layout data into new VTableLayout class
|
14 år sedan |
Peter Collingbourne
|
ba6ffeb51f
Move VTableComponent to header file
|
14 år sedan |
Peter Collingbourne
|
84fcc48817
Move vtable component accessors to VTableContext
|
14 år sedan |
Peter Collingbourne
|
bf1c5aeadc
Remove CodeGenVTables::ComputeVTableRelatedInformation dependency on CodeGen
|
14 år sedan |
Peter Collingbourne
|
1d2b317105
Create a VTableContext class and start moving CodeGenVTables methods to it
|
14 år sedan |
Peter Collingbourne
|
33446f1a22
Move BaseSubobject class to AST
|
14 år sedan |
Peter Collingbourne
|
e2ff5abe47
Make the VTTBuilder class independent of LLVM core
|
14 år sedan |
Chris Lattner
|
686775deca
now that we have a centralized place to do so, add some using declarations for
|
14 år sedan |
Peter Collingbourne
|
fd05ca03ab
Move GlobalDecl to AST
|
14 år sedan |
Ken Dyck
|
14c65ca4cd
[Reapply r128776, modified so that it does not break debug info.]
|
14 år sedan |
Ken Dyck
|
1a7f7526b7
[Reapply r128773. This is not the source of the issues Devang was seeing
|
14 år sedan |
Devang Patel
|
62c117db25
Revert r128770, r128771, r128773 and r128776 for now. It breaks debug info.
|
14 år sedan |
Ken Dyck
|
4fbabd37fd
Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() to
|
14 år sedan |
Ken Dyck
|
d221532188
Use CharUnits for the offsets in the VirtualBaseClassOffsetOffsetsMapTy. No
|
14 år sedan |
John McCall
|
bda0d6bda0
We were emitting construction v-tables with internal linkage all the time.
|
14 år sedan |
Ken Dyck
|
4230d529a8
Convert the BaseOffset member of BaseSubobject to CharUnits from bits. No
|
14 år sedan |
Anders Carlsson
|
14e82fd91c
When building with optimizations, emit thunks with available_externally linkage so devirtualized function calls can also be de-thunked.
|
14 år sedan |
Anders Carlsson
|
1cbce125b9
Make emitting a VTT a two-step process, much like emitting a VTable. You first get the address of the VTT, and then pass it to EmitVTTDefinition.
|
14 år sedan |
Peter Collingbourne
|
1411047788
Move name mangling support from CodeGen to AST. In the
|
14 år sedan |
Argyrios Kyrtzidis
|
d2c47bde3b
Make sure the VTables for template instantiations are emitted even if the key function doesn't have a body.
|
15 år sedan |
Argyrios Kyrtzidis
|
06a54a38be
Introduce Decl::hasBody() and FunctionDecl::hasBody() and use them instead of getBody() when we are just checking the existence of a body, to avoid de-serialization of the body from PCH.
|
15 år sedan |
John McCall
|
e21323588b
Don't try to emit the vtable for a class just because we're emitting a
|
15 år sedan |
Douglas Gregor
|
6fb745bdf1
Rework when and how vtables are emitted, by tracking where vtables are
|
15 år sedan |
Anders Carlsson
|
3855a07db0
Store the entire base subobject in SubVTTIndices.
|
15 år sedan |
Anders Carlsson
|
c11bb21910
Have getSubVTTIndex take a BaseSubobject instead of just a base.
|
15 år sedan |
Rafael Espindola
|
b8cab18e85
If a method is virtual and the class key function is in another file, emit the method as available_externally.
|
15 år sedan |
Anders Carlsson
|
046c294a43
Vtable -> VTable renames across the board.
|
15 år sedan |