[PATCH] D19567: PR21823: 'nodebug' attribute on global/static variables
Paul Robinson via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 26 16:18:57 PDT 2016
probinson created this revision.
probinson added reviewers: dblaikie, aprantl.
probinson added a subscriber: cfe-commits.
'nodebug' on a function will currently suppress all debug info for the function and its contents.
'nodebug on a static-duration variable will currently suppress debug info for the associated static initializer function (if any).
This patch suppresses all debug info for the variable, as requested in PR21823.
As a follow-up I'd like to expand applicability of 'nodebug' to any variable, and non-static data members.
http://reviews.llvm.org/D19567
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/CodeGen/CGDebugInfo.cpp
test/CodeGenCXX/debug-info-nodebug.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19567.55116.patch
Type: text/x-patch
Size: 4696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160426/7d40c639/attachment.bin>
More information about the cfe-commits
mailing list