summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
diff options
context:
space:
mode:
authorDavid Bozier <seifsta@gmail.com>2017-02-09 15:08:40 +0000
committerDavid Bozier <seifsta@gmail.com>2017-02-09 15:08:40 +0000
commit6a44b7c2ebb30624e7901862abb0b118e11c2a04 (patch)
treed725432d185f563a19dab5ec85174d35d249505c /llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
parentdc1c3011fd2dfb75f6a1f4f20fa73344956a54a4 (diff)
downloadbcm5719-llvm-6a44b7c2ebb30624e7901862abb0b118e11c2a04.tar.gz
bcm5719-llvm-6a44b7c2ebb30624e7901862abb0b118e11c2a04.zip
[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 function 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 an SSP-specific DiagnosticInfo class and uses of it to the Stack Protection code. A subsequent change to clang will cause the remarks to be emitted when enabled. Patch by: James Henderson Differential Revision: https://reviews.llvm.org/D29023 llvm-svn: 294590
Diffstat (limited to 'llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud