summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2016-05-25 20:22:45 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2016-05-25 20:22:45 +0000
commit1fe3f1ca50bfc7b1dcc356ee9785bfe3757a8aec (patch)
tree10f351c1cf2fa2150df5f7af950129b6dff7f309 /llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
parentfdbc64beeaf50d5dacf340dfba5fa21d5714a147 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud