[cfe-dev] How to use clang without any dead-code elimination

Wen-Han Gu nowar100 at gmail.com
Mon Jan 17 04:33:20 PST 2011

Hi all,

I have some functions definition to be used in another place.
I want to generate LLVM IR without any dead-code elimination, or the output
will contains nothing.

Did anyone know how to achive that without any change of source code?
If not this way, which source file should I modify?

Thank you.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110117/30f6c775/attachment.html>

More information about the cfe-dev mailing list