diff options
author | David Bozier <seifsta@gmail.com> | 2017-02-28 16:02:37 +0000 |
---|---|---|
committer | David Bozier <seifsta@gmail.com> | 2017-02-28 16:02:37 +0000 |
commit | 8638e9bfd721eaabe4b4a3eccec0b6d07664f082 (patch) | |
tree | 0e737dea60d945909d7c682dc0ed38e639e3f5f2 /llvm/lib/Target | |
parent | b548ec0ea372c8dc2688375d7cc1023b29a19d1c (diff) |
[Stack Protection] Add diagnostic information for why stack protection was applied to a function
Stack Smash Protection is not completely free, so in hot code, the overhead it causes can cause performance issues. By adding diagnostic information for which functions have SSP and why, a user can quickly determine what they can do to stop SSP being applied to a specific hot function.
This change adds a remark that is reported by the stack protection code when an instruction or attribute is encountered that causes SSP to be applied.
Patch by: James Henderson
Differential Revision: https://reviews.llvm.org/D29023
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions