[PATCH] D22577: Include unreferenced nested types in member list only for CodeView
Adrian McCarthy via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 20 10:50:34 PDT 2016
amccarth created this revision.
amccarth added reviewers: rnk, dblaikie.
amccarth added a subscriber: cfe-commits.
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.
This is essentially my earlier patch with a switch to apply it only when generating CodeView.
https://reviews.llvm.org/D22577
Files:
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
test/CodeGenCXX/debug-info-dup-fwd-decl.cpp
test/CodeGenCXX/debug-info-ms-abi.cpp
test/Modules/ModuleDebugInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22577.64710.patch
Type: text/x-patch
Size: 5557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160720/a9ed207c/attachment-0001.bin>
More information about the cfe-commits
mailing list