[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:27:54 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG360ea6204d64: [OCaml] Bind di_type_get_flags to correct C function (authored by alan).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157812/new/

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.549703.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230813/304c2dc7/attachment.bin>


More information about the llvm-commits mailing list