[LLVMdev] Intrinsic annotation doesn't work with C++ files

Hripsime Matevosyan hripsime.m at gmail.com
Fri Feb 24 03:01:38 PST 2012


I've already resolved the problem using extern "C".

On Fri, Feb 24, 2012 at 1:04 PM, Hripsime Matevosyan
<hripsime.m at gmail.com>wrote:

> Hello again,
>
> I really need to know how to make llvm understand the annotate in C++ code
> or to write a new Intrinsic by myself. I tried to add a new Intrinsic
> corresponding to the ExtendingLLVM doc instructions, but it is too opaque
> and I faild.
>
> Please, advise me if you can.
>
> Sincerely,
> Hripsime.
>
>
> On Wed, Feb 22, 2012 at 6:35 PM, Hripsime Matevosyan <hripsime.m at gmail.com
> > wrote:
>
>> Hi all,
>>
>> I need to use annotate inside the C++ code and want to know why doesn't
>> it work? How can I modify my sources to use annotate inside the C++ code
>> too?
>>
>> Thanks in advance.
>>
>> Sincerely,
>> Hripsime.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120224/3a245d60/attachment.html>


More information about the llvm-dev mailing list