[LLVMdev] How to add an include file

David Minor dahvid.minor at gmail.com
Sun Jul 5 13:16:00 PDT 2009


I'm writing a code transformation that involves adding an include to
existing code, adding a base class
to and existing class and then linking with a previously compiled library.
The main problem for me
seems to be how can I add the include?  Can I compile the include alone to
byte code and pre-pend it?
Should I compile the library, which includes the include and parse out the
include and pre-pend it?
Am I missing something fundamental here?

Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090705/9ea75902/attachment.html>


More information about the llvm-dev mailing list