diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-03-26 23:21:22 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-03-26 23:21:22 +0000 |
commit | 818698010cd47b6ed76b58f06eb9ac62045eb0aa (patch) | |
tree | cbc373ceb079136ececd951de457b1e97cef760c /llvm/docs/CommandGuide/llc.rst | |
parent | 14f6d1527c706d0749bad224fb6a4d2586d608f4 (diff) | |
download | bcm5719-llvm-818698010cd47b6ed76b58f06eb9ac62045eb0aa.tar.gz bcm5719-llvm-818698010cd47b6ed76b58f06eb9ac62045eb0aa.zip |
Emit -Wfortify-source using DiagRuntimeBehaviour
This fixes a false positive on the following, where st is configured to have
different sizes based on some preprocessor logic:
if (sizeof(buf) == sizeof(*st))
memcpy(&buf, st, sizeof(*st));
llvm-svn: 357041
Diffstat (limited to 'llvm/docs/CommandGuide/llc.rst')
0 files changed, 0 insertions, 0 deletions