llvm-project/llvm/test/CodeGen
David Bozier 5159968786 [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

llvm-svn: 296483
2017-02-28 16:02:37 +00:00
..
AArch64 In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
AMDGPU In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
ARM In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
AVR [AVR] Disable integrated assembler for a few tests 2017-02-22 22:41:13 +00:00
BPF In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
Generic Remove an empty line in icmp-illegal.ll . NFC 2017-02-27 16:09:44 +00:00
Hexagon [Hexagon] Undo shift folding where it could simplify addressing mode 2017-02-24 23:34:24 +00:00
Inputs
Lanai [lanai] Simplify small section check in LowerGlobalAddress and treat ldata sections specially. 2016-12-15 16:56:16 +00:00
MIR MIRTests: Remove unnecessary 2>&1 redirection 2017-02-22 18:47:41 +00:00
MSP430 In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
Mips In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
NVPTX [DAGCombiner] add missing folds for scalar select of {-1,0,1} 2017-02-24 17:17:33 +00:00
PowerPC In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
SPARC Codegen: Make chains from trellis-shaped CFGs 2017-02-15 19:49:14 +00:00
SystemZ In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
Thumb In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00
Thumb2 [ARM] Replace HasT2ExtractPack with HasDSP 2017-02-17 15:42:44 +00:00
WebAssembly [WebAssembly] Add support for using a wasm global for the stack pointer. 2017-02-24 23:46:05 +00:00
WinEH Avoid infinite loops in branch folding 2016-12-12 23:05:38 +00:00
X86 [Stack Protection] Add diagnostic information for why stack protection was applied to a function 2017-02-28 16:02:37 +00:00
XCore In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled. 2017-02-28 14:24:15 +00:00