[cfe-commits] Emit annotate attributes for function declarations
Job Noorman
jobnoorman at gmail.com
Mon Jan 28 05:35:19 PST 2013
Attached is a patch that makes sure that annotate attributes are also emitted
for function declarations. It simply calls CodeGenModule::AddGlobalAnnotations
in CodeGenModule::SetFunctionAttributes instead of in
CodeGenModule::EmitGlobalFunctionDefinition.
See http://lists.cs.uiuc.edu/pipermail/cfe-users/2013-January/000046.html for
a yet unanswered question I asked about this.
Kind regards,
Job
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130128/739b3afe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: annotate-decl.diff
Type: text/x-patch
Size: 854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130128/739b3afe/attachment.bin>
More information about the cfe-commits
mailing list