[PATCH] D57052: [IPCP] Don't crash due to arg count/type mismatch between caller/callee
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 28 07:50:34 PST 2019
bjope requested review of this revision.
bjope added a subscriber: eli.friedman.
bjope added a comment.
Please have another look.
I added a check for mismatched types which also would result in an assert (as mentioned by @eli.friedman). Not sure how to reproduce that from C/C++ though, but it was easy to write an LLVM IR reproducer.
I also made some adjustments for varargs that was not there in the earlier reviewed changeset.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57052/new/
https://reviews.llvm.org/D57052
More information about the llvm-commits
mailing list