[PATCH] D35899: [OCaml] Fix undefined reference to LLVMDumpType() with NDEBUG

whitequark via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 09:34:20 PDT 2017


whitequark requested changes to this revision.
whitequark added inline comments.
This revision now requires changes to proceed.


================
Comment at: bindings/ocaml/llvm/llvm_ocaml.c:343
+  char Message[] = "dump";
+  llvm_raise(*caml_named_value("Llvm.FeatureDisabled"), Message);
+#endif
----------------
```
caml_raise_with_arg(*caml_named_value("Llvm.FeatureDisabled"), caml_copy_string("dump"))
```


Repository:
  rL LLVM

https://reviews.llvm.org/D35899





More information about the llvm-commits mailing list