[LLVMdev] LLVM Ocaml binding

J. Charles N. M. jcharles.nmbiada at gmail.com
Mon Jun 23 01:00:52 PDT 2014


Up,
Please, I need help to deal with this.

 ---
| J. Charles




2014-06-21 19:35 GMT+02:00 J. Charles N. M. <jcharles.nmbiada at gmail.com>:

> Perhaps I miss fromulate my question.
> I'am writting a compiler and I need to generate debug information throw MD
> structures provided by LLVM.
> My  compiler is written in OCaml and I use Ocaml-LLVM binding API to
> generate LLVM IR Code.
>
> I want to generate something like the one generated by clang with :
> clang -S -g -emit-llvm -o  - with some optimisations.
>
> I'am looking for the best way to generate debug informations with the
> LLVM-OCaml binding API.
>
>  ---
> | J. Charles
>
>
>
>
> 2014-06-21 17:54 GMT+02:00 sathvik <sathvikl at gmail.com>:
>
> Try running the executable with -debug flag, use a debug build of llvm
>>
>> -sathvik
>>
>>
>> On Saturday, June 21, 2014, J. Charles N. M. <jcharles.nmbiada at gmail.com>
>> wrote:
>>
>>> Dear,
>>>
>>> I am actually using llvm ocaml binding to generate LLVM IR code.
>>> Can some one tell me how to use the binding to generate debug
>>> informations if it's possible ?
>>>
>>> Many thanks
>>>
>>>  ---
>>> | J. Charles
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140623/e75b3d41/attachment.html>


More information about the llvm-dev mailing list