mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
ced3d172f8
Since JIT->MCJIT migration, most of the ExecutionEngine interface became deprecated and/or broken. This especially affected the OCaml bindings, as runFunction is no longer available, and unlike in C, it is not possible to coerce a pointer to a function and call it in OCaml. In practice, LLVM 3.5 shipped completely unusable Llvm_executionengine. The GenericValue interface and runFunction were essentially a poor man's FFI. As such, this interface was removed and instead a dependency on ctypes >=0.3 added, which handled platform-specific aspects of accessing data and calling functions. The new interface does not expose JIT (which is a shim around MCJIT), as well as the interpreter (which can't handle a lot of valid IR). Llvm_executionengine.add_global_mapping is currently unusable due to PR20656. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220957 91177308-0d34-0410-b5e6-96231b3b80d8
104 lines
2.8 KiB
Plaintext
104 lines
2.8 KiB
Plaintext
name = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "LLVM OCaml bindings"
|
|
archive(byte) = "llvm.cma"
|
|
archive(native) = "llvm.cmxa"
|
|
exists_if(toplevel) = "dllllvm.so"
|
|
directory = "."
|
|
|
|
package "analysis" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "Intermediate representation analysis for LLVM"
|
|
archive(byte) = "llvm_analysis.cma"
|
|
archive(native) = "llvm_analysis.cmxa"
|
|
)
|
|
|
|
package "bitreader" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "Bitcode reader for LLVM"
|
|
archive(byte) = "llvm_bitreader.cma"
|
|
archive(native) = "llvm_bitreader.cmxa"
|
|
)
|
|
|
|
package "bitwriter" (
|
|
requires = "llvm,unix"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "Bitcode writer for LLVM"
|
|
archive(byte) = "llvm_bitwriter.cma"
|
|
archive(native) = "llvm_bitwriter.cmxa"
|
|
)
|
|
|
|
package "executionengine" (
|
|
requires = "llvm,llvm.target,ctypes.foreign"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "JIT and Interpreter for LLVM"
|
|
archive(byte) = "llvm_executionengine.cma"
|
|
archive(native) = "llvm_executionengine.cmxa"
|
|
)
|
|
|
|
package "ipo" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "IPO Transforms for LLVM"
|
|
archive(byte) = "llvm_ipo.cma"
|
|
archive(native) = "llvm_ipo.cmxa"
|
|
)
|
|
|
|
package "irreader" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "IR assembly reader for LLVM"
|
|
archive(byte) = "llvm_irreader.cma"
|
|
archive(native) = "llvm_irreader.cmxa"
|
|
)
|
|
|
|
package "scalar_opts" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "Scalar Transforms for LLVM"
|
|
archive(byte) = "llvm_scalar_opts.cma"
|
|
archive(native) = "llvm_scalar_opts.cmxa"
|
|
)
|
|
|
|
package "vectorize" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "Vector Transforms for LLVM"
|
|
archive(byte) = "llvm_vectorize.cma"
|
|
archive(native) = "llvm_vectorize.cmxa"
|
|
)
|
|
|
|
package "passmgr_builder" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "Pass Manager Builder for LLVM"
|
|
archive(byte) = "llvm_passmgr_builder.cma"
|
|
archive(native) = "llvm_passmgr_builder.cmxa"
|
|
)
|
|
|
|
package "target" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "Target Information for LLVM"
|
|
archive(byte) = "llvm_target.cma"
|
|
archive(native) = "llvm_target.cmxa"
|
|
)
|
|
|
|
package "linker" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "Intermediate Representation Linker for LLVM"
|
|
archive(byte) = "llvm_linker.cma"
|
|
archive(native) = "llvm_linker.cmxa"
|
|
)
|
|
|
|
package "all_backends" (
|
|
requires = "llvm"
|
|
version = "@PACKAGE_VERSION@"
|
|
description = "All backends for LLVM"
|
|
archive(byte) = "llvm_all_backends.cma"
|
|
archive(native) = "llvm_all_backends.cmxa"
|
|
)
|