Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6a8c5b2bc266902a3d1138122ef25cbe10e1687b
/
test
/
CodeGenCXX
/
vtable-layout.cpp
6a8c5b2
Use the real base offset when calculating vbase offsets.
by Anders Carlsson
· 15 years ago
8bc68f7
Don't add this adjustments for pure virtual member functions.
by Anders Carlsson
· 15 years ago
3504475
Add another test.
by Anders Carlsson
· 15 years ago
2ef9d6b
Finish up the changes to this adjustments.
by Anders Carlsson
· 15 years ago
c784ba2
Fix another vtable layout bug; we weren't looking hard enough for overriden functions when determining if an overrider will ever be used.
by Anders Carlsson
· 15 years ago
5560969
Handle vcall offset sharing between destructors.
by Anders Carlsson
· 15 years ago
08c2675
Fix a bug where we were generating an unnecessary vtable for a virtual base that's already a primary virtual base.
by Anders Carlsson
· 15 years ago
bf554f6
Fux a bug where we were trying to add overriders for non-virtual bases of virtual bases more than once.
by Anders Carlsson
· 15 years ago
af280c0
More fixes. Don't try to emit a virtual base vtable if the virtual base in question is a primary virtual base of some other base.
by Anders Carlsson
· 15 years ago
92f5432
Always emit vcall offset for the primary base, not only if it's virtual. Remove a debug printf, and add the test case that now passes.
by Anders Carlsson
· 15 years ago
69dc04e
Handle layout of vtables for virtual bases.
by Anders Carlsson
· 15 years ago
c7b6316
Fix a bug where we would not emit secondary vtables for bases of a primary base.
by Anders Carlsson
· 15 years ago
852213e
Emit vbase offsets.
by Anders Carlsson
· 15 years ago
b828afa
Don't compute final overriders or build vtables for bases that don't need a vtable.
by Anders Carlsson
· 15 years ago
e67dc30
Improve support for non-virtual 'this' pointer adjustments. With this, it should be possible to use the new vtable layout code for all class hierarchies that do not involve virtual bases.
by Anders Carlsson
· 15 years ago
49bac9a
Add basic support for simple non-virtual 'this' pointer adjustments.
by Anders Carlsson
· 15 years ago
76f1aa7
Start laying out secondary vtables.
by Anders Carlsson
· 16 years ago
1d05be5
Don't make return adjustments for pure virtual member functions.
by Anders Carlsson
· 16 years ago
60db0ee
Handle virtual bases in return adjustment types.
by Anders Carlsson
· 16 years ago
7dbf47a
More work on covariant return types. We now handle non-virtual adjustments fine.
by Anders Carlsson
· 16 years ago
28cbc8b
Keep track of the address points for all primary bases, and add the ability to dump multiple address points for a single offset.
by Anders Carlsson
· 16 years ago
9605895
Fix a bug causing an assertion when a covariant return type differed from
by John McCall
· 16 years ago
57071e2
More work on vtable layout. We can now layout vtables with primary bases.
by Anders Carlsson
· 16 years ago
9824142
When dumping vtables, dump whether a virtual member function is pure or not.
by Anders Carlsson
· 16 years ago
bac7271
Add virtual operator= example.
by Anders Carlsson
· 16 years ago
848fa64
More vtable layout dumper improvements. Handle destructors, dump the complete function type of the member functions (using PredefinedExpr::ComputeName.
by Anders Carlsson
· 16 years ago
822307b
Keep track of, and dump, vtable address points.
by Anders Carlsson
· 16 years ago
824d7ea
Check in the beginnings of my new vtable layout builder idea.
by Anders Carlsson
· 16 years ago