Displaying 1 result from an estimated 1 matches for "__throw_length_error".
2008 Oct 06
1
[LLVMdev] Calling LLVM API from within an llvm::Module
Hi,
I'm looking into LLVM to build a self-hosting compiler. I'm trying to
understand how to call LLVM from within a compiled LLVM Module (if
that's possible).
As a first step I was just trying to compile some code that uses LLVM
to LLVM bytecode, but can't get it to work.
$ cat test.cpp
#include <llvm/Module.h>
int main (int argc, char const *argv[]) {
llvm::Module