[cfe-dev] Instrumentation with Clang
Hong Hu via cfe-dev
cfe-dev at lists.llvm.org
Mon Mar 13 20:26:59 PDT 2017
Hi Clang developers,
May I know how to insert an extra function declaration at the very
beginning of the compilation?
For example, I want to add a call to function "foo", which is not defined
by the source code. Instead of adding "extern void foo()" to each source
code manually, I'd like to use clang to do it automatically.
Regards,
Hong HU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170313/ac22b13d/attachment.html>
More information about the cfe-dev
mailing list