Hripsime Matevosyan
2012-Feb-22 14:35 UTC
[LLVMdev] Intrinsic annotation doesn't work with C++ files
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/20120222/21e75ec8/attachment.html>
Hripsime Matevosyan
2012-Feb-24 09:04 UTC
[LLVMdev] Intrinsic annotation doesn't work with C++ files
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/6d99fe07/attachment.html>
Hripsime Matevosyan
2012-Feb-24 11:01 UTC
[LLVMdev] Intrinsic annotation doesn't work with C++ files
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>