Only emit debug info for implicit members that actually get codegen, not just ODR...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 9 Aug 2013 17:20:05 +0000 (17:20 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 9 Aug 2013 17:20:05 +0000 (17:20 +0000)
commitfd07c604a929849fd6c4880974d1d4c255ce95f1
treed37dde0cf5cc5f2a2dfeddc67ab312c29b00b528
parent604e8486552ee7c3d249aa0f1772f5d1cdc11745
Only emit debug info for implicit members that actually get codegen, not just ODR use.

This includes special members (copy/default ctor, copy assign, default
ctor) and template specializations for member function templates.

Good for a 5% decrease (1.80 to 1.71 GB) in size on Clang+LLVM's .dwo
files (when using fission).

llvm-svn: 188085
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-template-member.cpp
clang/test/CodeGenCXX/debug-info.cpp
clang/test/CodeGenCXX/debug-lambda-expressions.cpp