[LLVMdev] LLVM and C++

Andrii Vasyliev andrii.vasyliev at gmail.com
Wed Sep 24 07:31:07 PDT 2008


Hi

I want to use LLVM to generate a code working with C++ objects.

I've got basics of LLVM IR generation from Kaleidoscope and other tutorials.
Then I tried to llvm-dis'assemble llvm-gcc'ompiled C++ program and I see
how to generate all this strangely named functions and how to run
constructors and destructors. So I can imagine how to generate C++
compatible code with LLVM. But it seems to be a bit tricky...
So I'm interested is there a simpler way?

Thanks for any suggestions



More information about the llvm-dev mailing list