[PATCH] D19754: Allow 'nodebug' on local variables

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 29 17:43:13 PDT 2016


probinson created this revision.
probinson added reviewers: aaron.ballman, dblaikie, aprantl.
probinson added a subscriber: cfe-commits.

Expand the purview of the 'nodebug' attribute from functions/methods and static-storage variables to include local variables.  Parameters and members of aggregates are still excluded, and probably should stay that way.


http://reviews.llvm.org/D19754

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  lib/CodeGen/CGDebugInfo.cpp
  test/CodeGenCXX/debug-info-nodebug.cpp
  test/CodeGenObjC/debug-info-nodebug.m
  test/Sema/attr-nodebug.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19754.55692.patch
Type: text/x-patch
Size: 4835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160430/6282d2f3/attachment-0001.bin>


More information about the cfe-commits mailing list