LLVM Codegen_cpu

I’m using bundle deploy demo but meeting problems in codegen_cpu.cc Poblem came from llvm::ConstantStruct::get below.

llvm::GlobalVariable* func_registry = new llvm::GlobalVariable(
        *module_, t_tvm_crt_func_registry_, true, llvm::GlobalVariable::InternalLinkage,

LLVM raise exception due to type of “func_registry_ptrs” not matching with struct type “t_tvm_crt_func_registry_”.

In my understanding, “t_tvm_crt_func_registry_” consists of one char string and one LLVM FunctionType pointer. But “func_registry_ptrs” is a pointer to array of LLVM FunctionType

Wish to get a fix or explanation of this design.