diff options
author | Dimitry Andric <dimitry@andric.com> | 2017-12-24 21:11:32 +0000 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2017-12-24 21:11:32 +0000 |
commit | 60c7f2d9ce54552e53c252d9f347ffd5223d3695 (patch) | |
tree | b43ee7a72bf1ba43731b73d9e7f31c7a3f605a59 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | a9c490b71dbf1bc3f657527e2a268448529cdfd4 (diff) | |
download | llvm-60c7f2d9ce54552e53c252d9f347ffd5223d3695.zip llvm-60c7f2d9ce54552e53c252d9f347ffd5223d3695.tar.gz llvm-60c7f2d9ce54552e53c252d9f347ffd5223d3695.tar.bz2 |
Fix PR35739: chkstk and chkst2 should only be built for Windows
As reported in PR35739, rL252927 added the Windows specific chkstk and
chkstk2 sources unconditionally, and since these are assembly without a
NO_EXEC_STACK_DIRECTIVE at the end, automated vulnerability scanners
warned about the objects having an executable stack.
Avoid the problem by only including these files when Windows is
targeted.
Reviewers: compnerd, rnk, martell
Reviewed By: martell
Subscribers: mstorsjo, mgorny, martell, javed.absar, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D41567
llvm-svn: 321431
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions