[all-commits] [llvm/llvm-project] c1a9dd: [AbstractCallSite] Check that callback callee inde...
Sergey Dmitriev via All-commits
all-commits at lists.llvm.org
Tue Apr 14 09:24:32 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c1a9dd9aea498dd78d6583f29f15a690ddd5466a
https://github.com/llvm/llvm-project/commit/c1a9dd9aea498dd78d6583f29f15a690ddd5466a
Author: Sergey Dmitriev <serguei.n.dmitriev at intel.com>
Date: 2020-04-14 (Tue, 14 Apr 2020)
Changed paths:
M llvm/lib/IR/AbstractCallSite.cpp
M llvm/test/Transforms/OpenMP/rtf_type_checking.ll
Log Message:
-----------
[AbstractCallSite] Check that callback callee index is within call arguments
Summary:
AbstractCallSite::getCallbackUses() does not check that callback callee index from
the callback metadata does not exceed the total number of call arguments. This patch
add such validation check.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78112
More information about the All-commits
mailing list