Index: bindings/ocaml/llvm/llvm.ml =================================================================== --- bindings/ocaml/llvm/llvm.ml +++ bindings/ocaml/llvm/llvm.ml @@ -310,6 +310,7 @@ | ConstantVector | Function | GlobalAlias + | GlobalIFunc | GlobalVariable | UndefValue | Instruction of Opcode.t Index: bindings/ocaml/llvm/llvm.mli =================================================================== --- bindings/ocaml/llvm/llvm.mli +++ bindings/ocaml/llvm/llvm.mli @@ -343,6 +343,7 @@ | ConstantVector | Function | GlobalAlias + | GlobalIFunc | GlobalVariable | UndefValue | Instruction of Opcode.t Index: bindings/ocaml/llvm/llvm_ocaml.c =================================================================== --- bindings/ocaml/llvm/llvm_ocaml.c +++ bindings/ocaml/llvm/llvm_ocaml.c @@ -619,6 +619,7 @@ ConstantVector, Function, GlobalAlias, + GlobalIFunc, GlobalVariable, UndefValue, Instruction @@ -654,6 +655,7 @@ if (LLVMIsAGlobalValue(Val)) { DEFINE_CASE(Val, Function); DEFINE_CASE(Val, GlobalAlias); + DEFINE_CASE(Val, GlobalIFunc); DEFINE_CASE(Val, GlobalVariable); } DEFINE_CASE(Val, Argument); Index: include/llvm-c/Core.h =================================================================== --- include/llvm-c/Core.h +++ include/llvm-c/Core.h @@ -1299,6 +1299,7 @@ macro(ConstantVector) \ macro(GlobalValue) \ macro(GlobalAlias) \ + macro(GlobalIFunc) \ macro(GlobalObject) \ macro(Function) \ macro(GlobalVariable) \