[PATCH] D157812: [OCaml] Bind di_type_get_flags to correct C function
Alan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 13 07:22:46 PDT 2023
alan created this revision.
Herald added a project: All.
alan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Fixes https://github.com/llvm/llvm-project/issues/64254
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157812
Files:
llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
Index: llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
===================================================================
--- llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
+++ llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
@@ -837,7 +837,7 @@
}
value llvm_di_type_get_flags(value DType) {
- LLVMDIFlags Flags = LLVMDITypeGetLine(Metadata_val(DType));
+ LLVMDIFlags Flags = LLVMDITypeGetFlags(Metadata_val(DType));
return alloc_diflags(Flags);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157812.549702.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230813/fe33d8a6/attachment.bin>
More information about the llvm-commits
mailing list