[PATCH] D29023: [Stack Protection] Add diagnostic information for why stack protection was applied to a function

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 09:11:52 PST 2017


jhenderson updated this revision to Diff 85409.
jhenderson added a comment.

Thanks for spotting the test file. I did not mean for that file to be in there (the perils of making local changes...).

I have moved the class into StackProtector.h as suggested. I've also converted the enum into a string when printing. I'm uploading these changes now, and will add tests to it next.


https://reviews.llvm.org/D29023

Files:
  include/llvm/CodeGen/StackProtector.h
  include/llvm/IR/DiagnosticInfo.h
  lib/CodeGen/StackProtector.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29023.85409.patch
Type: text/x-patch
Size: 5587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/279f441d/attachment.bin>


More information about the llvm-commits mailing list