[cfe-dev] Strange character around function declared with "asm"

Chris Lattner clattner at apple.com
Fri Dec 3 08:37:53 PST 2010


On Dec 3, 2010, at 7:40 AM, Lorenzo De Carli wrote:

> Thanks everyone. I guess the question then becomes how can I instruct
> CLANG to emit calls to user-defined intrinsics when it generates LLVM
> bytecode.
> 
> Does anyone have a suggestion? Or if someone can point me to the code
> that generates the asm code, I can do some dirty hack (without
> submitting it!) to manage the situation where the symbol start with
> "llvm.". As it was said, it is probably not a good idea in general,
> but it would be good enough for my purpose :-)

Which intrinsic is it?  Is this something you're adding to LLVM, or something standard?

-Chris



More information about the cfe-dev mailing list