Changeset View
Changeset View
Standalone View
Standalone View
test/Bindings/OCaml/passmgr_builder.ml
(* RUN: cp %s %T/passmgr_builder.ml | (* RUN: rm -rf %t && mkdir -p %t && cp %s %t/passmgr_builder.ml | ||||
* RUN: %ocamlc -g -w +A -package llvm.passmgr_builder -linkpkg %T/passmgr_builder.ml -o %t | * RUN: %ocamlc -g -w +A -package llvm.passmgr_builder -linkpkg %t/passmgr_builder.ml -o %t/executable | ||||
* RUN: %t %t.bc | * RUN: %t/executable %t/bitcode.bc | ||||
* RUN: %ocamlopt -g -w +A -package llvm.passmgr_builder -linkpkg %T/passmgr_builder.ml -o %t | * RUN: %ocamlopt -g -w +A -package llvm.passmgr_builder -linkpkg %t/passmgr_builder.ml -o %t/executable | ||||
* RUN: %t %t.bc | * RUN: %t/executable %t/bitcode.bc | ||||
* XFAIL: vg_leak | * XFAIL: vg_leak | ||||
*) | *) | ||||
(* Note: It takes several seconds for ocamlopt to link an executable with | (* Note: It takes several seconds for ocamlopt to link an executable with | ||||
libLLVMCore.a, so it's better to write a big test than a bunch of | libLLVMCore.a, so it's better to write a big test than a bunch of | ||||
little ones. *) | little ones. *) | ||||
open Llvm | open Llvm | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |