Added llvm_get_mdnode_operands function, which allow access to the operands inside an MDNode.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Removed get_mdnode_count function, and added a test in test/Bindings/OCaml/core.ml. Not sure if the test works right as I can't run the test suite properly on my system right now.
Fixed a missing semicolon in the test for get_mdnode_operands.
Fixed a bunch of tests in test/Bindings/OCaml/core.ml, allowing the check-llvm-bindings-ocaml test suite to complete successfully with no errors.
Also, it turns out that the tests had been marked as unsupported in lit.local.cfg, so they don't run by default. I'm leaving that as it is because I don't think I'm in a position to decide whether or not to change it back to supported.
New diff is against current (21/06/16) git repository. Fixes to the OCaml bindings tests have been added there, so we only need to add the test for get_mdnode_operands.
Sorry for taking so long on this, was caught up with work.
Thanks! I'm a bit unsure how to proceed now, since I don't have commit
access to the repository. Could you help me do the commit, or is there some
procedure by which I can add it to some commit queue?
Thanks,
Xinyu