Handle indirect calls in preallocated verification
authorArthur Eubanks <aeubanks@google.com>
Thu, 30 Apr 2020 20:48:43 +0000 (13:48 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 30 Apr 2020 21:39:03 +0000 (14:39 -0700)
commit3d5275fc05d54a8f951e034bcb7bcd48b0e46eb8
tree52cf6192df5d17d69ed7de656453f0e82bfd79a1
parentd1c43615ed068f2f915ccdd959ef583cd5177929
Handle indirect calls in preallocated verification

Summary: getCalledFunction() returns null for indirect function invocations.

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79203
llvm/lib/IR/Verifier.cpp
llvm/test/Verifier/preallocated-valid.ll