diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2016-10-16 17:26:06 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2016-10-16 17:26:06 +0000 |
commit | 62ce463a35d7d0dd919672a0a824352b1847de06 (patch) | |
tree | bd9e496b6e03db0fcde75837d52c69f9e03834e0 /llvm/lib/Support/FoldingSet.cpp | |
parent | c5777f4d580a37f073b0351de26711d789433486 (diff) | |
download | bcm5719-llvm-62ce463a35d7d0dd919672a0a824352b1847de06.tar.gz bcm5719-llvm-62ce463a35d7d0dd919672a0a824352b1847de06.zip |
[analyzer] Make MallocChecker more robust against custom redeclarations
Add additional checking to MallocChecker to avoid crashing when memory
routines have unexpected numbers of arguments. You wouldn't expect to see much
of this in normal code (-Wincompatible-library-redeclaration warns on this),
but, for example, CMake tests can generate these.
This is PR30616.
rdar://problem/28631974
llvm-svn: 284335
Diffstat (limited to 'llvm/lib/Support/FoldingSet.cpp')
0 files changed, 0 insertions, 0 deletions