diff options
author | Piotr Padlewski <prazek@google.com> | 2015-07-24 04:04:49 +0000 |
---|---|---|
committer | Piotr Padlewski <prazek@google.com> | 2015-07-24 04:04:49 +0000 |
commit | a68a78751fb0d4eb7eb047365a66ea9becbc6a28 (patch) | |
tree | a0e518429cfb8bba71d662ba042c65ee702eccf1 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 5d8e569926773bea0e55d00a644c17ca202c29cc (diff) | |
download | llvm-a68a78751fb0d4eb7eb047365a66ea9becbc6a28.zip llvm-a68a78751fb0d4eb7eb047365a66ea9becbc6a28.tar.gz llvm-a68a78751fb0d4eb7eb047365a66ea9becbc6a28.tar.bz2 |
Generating available_externally vtables for outline virtual functions
Generating available_externally vtables for optimizations purposes.
Unfortunatelly ItaniumABI doesn't guarantee that we will be able to
refer to virtual inline method by name.
But when we don't have any inline virtual methods, and key function is
not defined in this TU, we can generate that there will be vtable and
mark it as available_externally.
This is patch will help devirtualize better.
Differential Revision: http://reviews.llvm.org/D11441
llvm-svn: 243090
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions