Emit available_externally vtables opportunistically
Summary: We can emit vtable definition having inline function if they are all emitted. Reviewers: rjmccall, rsmith Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D33437 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304394 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/VTableBuilder.h 21 additions, 0 deletionsinclude/clang/AST/VTableBuilder.h
- lib/CodeGen/CGVTables.cpp 2 additions, 0 deletionslib/CodeGen/CGVTables.cpp
- lib/CodeGen/CodeGenModule.cpp 23 additions, 0 deletionslib/CodeGen/CodeGenModule.cpp
- lib/CodeGen/CodeGenModule.h 10 additions, 1 deletionlib/CodeGen/CodeGenModule.h
- lib/CodeGen/ItaniumCXXABI.cpp 30 additions, 17 deletionslib/CodeGen/ItaniumCXXABI.cpp
- lib/CodeGen/MicrosoftCXXABI.cpp 3 additions, 0 deletionslib/CodeGen/MicrosoftCXXABI.cpp
- test/CodeGenCXX/vtable-available-externally.cpp 30 additions, 2 deletionstest/CodeGenCXX/vtable-available-externally.cpp
- test/CodeGenCXX/vtable-linkage.cpp 4 additions, 2 deletionstest/CodeGenCXX/vtable-linkage.cpp
Loading
Please register or sign in to comment