[LLVMdev] Example of use of libclang

Lang Hames lhames at gmail.com
Thu Feb 12 11:26:29 PST 2015


Hi Stéphane,

Check out clang/examples/clang-interpreter - it looks like what you're
after.

Cheers,
Lang.

On Tue, Feb 10, 2015 at 3:16 AM, Stéphane Letz <letz at grame.fr> wrote:

> Hi,
>
> I'm trying to test the following compilation chain :
>
> C/C++ source code as a string ==>  libclang ==> LLVM IR ==> JIT
>
> but could not find easy to use code example on the web.
>
> In there something available somewhere ? Any source code, exemple to look
> at ?
>
> Thanks.
>
> Stéphane Letz
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150212/2db52193/attachment.html>


More information about the llvm-dev mailing list