Index: llvm/trunk/bindings/ocaml/llvm/llvm.ml =================================================================== --- llvm/trunk/bindings/ocaml/llvm/llvm.ml +++ llvm/trunk/bindings/ocaml/llvm/llvm.ml @@ -310,6 +310,7 @@ | ConstantVector | Function | GlobalAlias + | GlobalIFunc | GlobalVariable | UndefValue | Instruction of Opcode.t Index: llvm/trunk/bindings/ocaml/llvm/llvm.mli =================================================================== --- llvm/trunk/bindings/ocaml/llvm/llvm.mli +++ llvm/trunk/bindings/ocaml/llvm/llvm.mli @@ -343,6 +343,7 @@ | ConstantVector | Function | GlobalAlias + | GlobalIFunc | GlobalVariable | UndefValue | Instruction of Opcode.t Index: llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c =================================================================== --- llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c +++ llvm/trunk/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: llvm/trunk/include/llvm-c/Core.h =================================================================== --- llvm/trunk/include/llvm-c/Core.h +++ llvm/trunk/include/llvm-c/Core.h @@ -1465,6 +1465,7 @@ macro(ConstantVector) \ macro(GlobalValue) \ macro(GlobalAlias) \ + macro(GlobalIFunc) \ macro(GlobalObject) \ macro(Function) \ macro(GlobalVariable) \