Include unreferenced nested types in member list only for CodeView
Unreferenced nested structs and classes were omitted from the debug info. In DWARF, this was intentional, to avoid bloat. But for CodeView, we want this information to be consistent with what Microsoft tools would produce and expect. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276271 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGDebugInfo.cpp 18 additions, 3 deletionslib/CodeGen/CGDebugInfo.cpp
- lib/CodeGen/CGDebugInfo.h 2 additions, 0 deletionslib/CodeGen/CGDebugInfo.h
- test/CodeGenCXX/debug-info-dup-fwd-decl.cpp 1 addition, 1 deletiontest/CodeGenCXX/debug-info-dup-fwd-decl.cpp
- test/CodeGenCXX/debug-info-ms-abi.cpp 10 additions, 7 deletionstest/CodeGenCXX/debug-info-ms-abi.cpp
- test/Modules/ModuleDebugInfo.cpp 5 additions, 1 deletiontest/Modules/ModuleDebugInfo.cpp
Loading
Please register or sign in to comment