[PATCH] D29027: [Stack Protection] Add remark for reasons why Stack Protection has been applied

James Henderson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 07:20:57 PST 2017


jhenderson created this revision.
Herald added a subscriber: fhahn.

Depends on https://reviews.llvm.org/D29023, which is currently under review. In that change, I am adding diagnostic information to LLVM for why Stack Smash Protection has been applied to each function. This is the second stage, namely adding a new remark to clang, which is emitted when enabled via "-Rssp-reason".


https://reviews.llvm.org/D29027

Files:
  include/clang/Basic/DiagnosticFrontendKinds.td
  include/clang/Basic/DiagnosticGroups.td
  lib/CodeGen/CodeGenAction.cpp
  test/CodeGen/stack-protector-remarks.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29027.85374.patch
Type: text/x-patch
Size: 4627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170123/7392c49f/attachment.bin>


More information about the cfe-commits mailing list