Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
82aaebeaad75456bc736ea1c474479bb6597305d
/
test
/
CodeGenCXX
/
vtable-linkage.cpp
b4127a2
Emit vtables for an extern template class as available_externally, not as
by Richard Smith
· 12 years ago
fc8f0e1
fix a bunch of comment typos found by codespell. Patch by
by Chris Lattner
· 14 years ago
691222d
Give VTTs the right visibility.
by Anders Carlsson
· 14 years ago
f502d93
Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr.
by Anders Carlsson
· 14 years ago
cd3ac4b
Also set unnamed_addr on declarations.
by Rafael Espindola
· 14 years ago
62b1607
Only add unnamed_addr to definitions.
by Rafael Espindola
· 14 years ago
57244f6
Set unnamed_addr in every type info.
by Rafael Espindola
· 14 years ago
b1c65ff
Set unnamed_addr for type infos that we are confortable marking as hidden. I
by Rafael Espindola
· 14 years ago
9f959db
Add unnamed_addr to vtables.
by Rafael Espindola
· 14 years ago
d2c47bd
Make sure the VTables for template instantiations are emitted even if the key function doesn't have a body.
by Argyrios Kyrtzidis
· 14 years ago
279b5eb
Just disable the hidden-visibility optimization for now by hiding it behind
by John McCall
· 14 years ago
7a53690
It turns out that linkers (at least, the Darwin linker) don't necessarily
by John McCall
· 14 years ago
cbfe502
Emit standard-library RTTI with external linkage, not weak_odr.
by John McCall
· 14 years ago
0c7d32b
Extend the hidden-visibility vtables optimization to template classes that
by John McCall
· 14 years ago
3d640e6
Emit weak vtables of non-template classes with hidden visibility.
by John McCall
· 14 years ago
b9aefa7
IRgen/C++: When mark vtables used, make sure to still append to the VTableUse array if we promote a vtable from being just used to having its definition required. This ensures that we properly inform the consumer about whether the vtable is required or not, previously we could fail to do so when the vtable was in the VTableUses array before the decl which marked it as required.
by Daniel Dunbar
· 14 years ago
6fb745b
Rework when and how vtables are emitted, by tracking where vtables are
by Douglas Gregor
· 14 years ago
35d6461
Don't produce a vtable for a class if we have an explicit template instantiation declaration and no key function. We will produce the vtable at the explicit template instantiation.
by Rafael Espindola
· 15 years ago
c9b64ba
Flip the switch and use the new vtable layout code for everything. I've verified that this passes a self-host but I'll let the bots self host as well before removing the now dead code.
by Anders Carlsson
· 15 years ago
6c6bda3
Fix for PR5967: Make const-marking for LLVM globals correct for cases requiring
by Eli Friedman
· 15 years ago
c84622a
Test linkage of typeinfo and typeinfo names for class templates
by Douglas Gregor
· 15 years ago
1a78afb
Revert my available_externally vtables experiment. It's breaking the LLVM-with-Clang build with linker errors that I have yet to investigate.
by Douglas Gregor
· 15 years ago
074a2cf
Make use of available_externally linkage for vtables when the
by Douglas Gregor
· 15 years ago
bd6d619
Improve key-function computation for templates. In particular:
by Douglas Gregor
· 15 years ago
a572887
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
by Daniel Dunbar
· 15 years ago
470fb73
Fix linkage of type info and vtable for classes without linkage.
by Eli Friedman
· 15 years ago
31b7f52
Improve linkage of RTTI data structures. Introduce CodeGenModule::GetAddrOfRTTI which figures out the right linkage of the RTTI information for the given type and whether it should be defined or not. I will migrate clients over to GetAddrOfRTTI in subsequent commits (with tests).
by Anders Carlsson
· 15 years ago
5794c97
More linkage improvements.
by Anders Carlsson
· 15 years ago
891c8b7
If a class does not have a key function, its linkage should be weak_odr.
by Anders Carlsson
· 15 years ago
152d4dc
Use createGlobalVariable for creating vtable variables too.
by Anders Carlsson
· 15 years ago
7ca4643
Factor vtable related GlobalVariable creation out into a separate function. Add vtable linkage test.
by Anders Carlsson
· 15 years ago