[LLVMdev] need to store the address of a variable

Paul Arndt arndt at rbg.informatik.tu-darmstadt.de
Sat Jun 28 10:58:51 PDT 2008


> then run "llc -march=cpp arndt.bc -f -o -" to see the C++ code that
> constructs the module from the input bytecode. In your case, the
> relevant section looks like this:

Many thanks Nick, the llvm2cpp tools is the piece I was searchig for. This 
hint makes things much easier for me. So I can formulate want I need in C for 
a simple example,  translate it to LLVM and then generate CPP Code that is 
easy to generalisize.

Paul



More information about the llvm-dev mailing list