LLVM 3.5 port, untested. Issue #64 on github.