Debug Info: Avoid completing class types when a definition is in a module.
This patch adds an early exit to CGDebugInfo::completeClassData() when compiling with -gmodules and the to-be-completed type is available in a clang module. rdar://problem/23599990 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308938 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGDebugInfo.cpp 27 additions, 23 deletionslib/CodeGen/CGDebugInfo.cpp
- test/Modules/ExtDebugInfo.cpp 9 additions, 0 deletionstest/Modules/ExtDebugInfo.cpp
- test/Modules/Inputs/DebugCXX.h 3 additions, 3 deletionstest/Modules/Inputs/DebugCXX.h
- test/Modules/ModuleDebugInfo.cpp 8 additions, 3 deletionstest/Modules/ModuleDebugInfo.cpp
Loading
Please register or sign in to comment