From 3ba7dedcd9864a4fb91a0937ca3f570de2d12a62 Mon Sep 17 00:00:00 2001 From: Lukas Zaoral <lzaoral@redhat.com> Date: Thu, 10 Sep 2020 17:24:49 +0200 Subject: llvm11: Composite and Sequential types were removed See: https://reviews.llvm.org/D75660 https://reviews.llvm.org/D75661 --- lib/Core/Executor.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Core/Executor.h') diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index 30d1dd92..1614a0f9 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -449,6 +449,11 @@ private: /// bindModuleConstants - Initialize the module constant table. void bindModuleConstants(); + template <typename SqType, typename TypeIt> + void computeOffsetsSeqTy(KGEPInstruction *kgepi, + ref<ConstantExpr> &constantOffset, uint64_t index, + const TypeIt it); + template <typename TypeIt> void computeOffsets(KGEPInstruction *kgepi, TypeIt ib, TypeIt ie); -- cgit 1.4.1