[llvm] 360ea62 - [OCaml] Bind di_type_get_flags to correct C function
Alan Hu via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 13 07:27:46 PDT 2023
Author: Alan Hu
Date: 2023-08-13T10:22:44-04:00
New Revision: 360ea6204d64381ff7cd7d79aac867c31a00decc
URL: https://github.com/llvm/llvm-project/commit/360ea6204d64381ff7cd7d79aac867c31a00decc
DIFF: https://github.com/llvm/llvm-project/commit/360ea6204d64381ff7cd7d79aac867c31a00decc.diff
LOG: [OCaml] Bind di_type_get_flags to correct C function
Fixes https://github.com/llvm/llvm-project/issues/64254
Differential Revision: https://reviews.llvm.org/D157812
Added:
Modified:
llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
Removed:
################################################################################
diff --git a/llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c b/llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
index 510244b32c2900..a793e893524fe2 100644
--- a/llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
+++ b/llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
@@ -837,7 +837,7 @@ value llvm_di_type_get_line(value DType) {
}
value llvm_di_type_get_flags(value DType) {
- LLVMDIFlags Flags = LLVMDITypeGetLine(Metadata_val(DType));
+ LLVMDIFlags Flags = LLVMDITypeGetFlags(Metadata_val(DType));
return alloc_diflags(Flags);
}
More information about the llvm-commits
mailing list