Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Deimos bindings for LLVM
D C C++
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
C/llvm-c
deimos/llvm
examples
README.md
package.json

README.md

LLVM D(eimos) interface

This project provides a Deimos interface for LLVM.

By default it uses the config files provided by LLVM. Specify -J/path/to/include/llvm/Config when building or use -version=llvmNoConfig to disable it. But then you have to manually initialize the targets, etc. (see module deimos.llvm.c.target).

E.g. on a Linux system run

$ dmd $(llvm-config-3.3 --ldflags --libs | sed -e 's/-L/-L-L/g' | sed -e 's/-l/-L-l/g') -L-lstdc++ -version=llvmNoConfig -run examples/helloworld.d
Something went wrong with that request. Please try again.