diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-05-25 20:22:45 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-05-25 20:22:45 +0000 |
commit | 1fe3f1ca50bfc7b1dcc356ee9785bfe3757a8aec (patch) | |
tree | 10f351c1cf2fa2150df5f7af950129b6dff7f309 /llvm/lib/DebugInfo/CodeView/CodeViewError.cpp | |
parent | fdbc64beeaf50d5dacf340dfba5fa21d5714a147 (diff) | |
download | bcm5719-llvm-1fe3f1ca50bfc7b1dcc356ee9785bfe3757a8aec.tar.gz bcm5719-llvm-1fe3f1ca50bfc7b1dcc356ee9785bfe3757a8aec.zip |
[TLI] Fix NumParams==0 prototype checking typo.
There was a typo in r267758. It caused invalid accesses when
given something like "void @free(...)", as NumParams == 0, and
we then try to look at the 0th parameter.
Turns out, most of these were untested; add both attribute
and missing-prototype checks for all libc libfuncs.
Differential Revision: http://reviews.llvm.org/D20543
llvm-svn: 270750
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/CodeViewError.cpp')
0 files changed, 0 insertions, 0 deletions