DebugInfo: Omit class definitions even in the presence of available_externally vtables
To ensure optimization level doesn't pessimize the -fstandalone-debug vtable debug info optimization (where class definitions are only emitted where the vtable is emitted - reducing redundant debug info) ensure the debug info class definition is still omitted when an available_externally vtable definition is emitted for optimization purposes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292768 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGDebugInfo.cpp 19 additions, 10 deletionslib/CodeGen/CGDebugInfo.cpp
- lib/CodeGen/CGDebugInfo.h 1 addition, 0 deletionslib/CodeGen/CGDebugInfo.h
- lib/CodeGen/CGVTables.cpp 4 additions, 3 deletionslib/CodeGen/CGVTables.cpp
- test/CodeGenCXX/debug-info-class-optzns.cpp 16 additions, 0 deletionstest/CodeGenCXX/debug-info-class-optzns.cpp
Loading
Please register or sign in to comment