[cfe-dev] regarding user defined pragmas

Arvind Sudarsanam A.Sudarsanam at cputech.com
Wed Nov 10 16:45:56 PST 2010


Hi,

 

I want to be able to include a #pragma directive in my C code, run it
through clang and let the directive be available on the LLVM side (as
part of the LLVM IR code) so that I can parse it using a LLVM pass.

 

Is there any way to do it? Currently, the pragma directive just
disappears.

 

Thanks

Arvind

 

Arvind Sudarsanam

Software Engineer

CPU Technology Inc.

1500 Kansas Ave, Suite 3E, Longmont, CO - 80503

asudarsanam at cputech.com

Ph: 435-512-7769

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101110/afef6668/attachment.html>


More information about the cfe-dev mailing list