[OCaml] Test code emission in Llvm_target.
authorPeter Zotov <whitequark@whitequark.org>
Thu, 30 Oct 2014 08:30:01 +0000 (08:30 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Thu, 30 Oct 2014 08:30:01 +0000 (08:30 +0000)
commitf481471495d40e808de5c61a6c2310820f358346
treefd010788403a94659debc13228f82e0f95676e32
parentd6d49fd0e291a6c8e66242b4f7f18905b87a7e90
[OCaml] Test code emission in Llvm_target.

Prior to this commit, the Llvm_target tests (ab)used
the Llvm_executionengine as a mechanism to initialize at least some
target. This needlessly restricted tests to builds which can emit
code for their host architecture.

llvm-svn: 220901
llvm/test/Bindings/Ocaml/target.ml