[cfe-users] Linker Stripping

Xin Tong trent.tong at gmail.com
Mon Oct 14 04:24:34 PDT 2013


I am not sure this is the right list for this question, but i will ask it
anyways.

some of my functions which are not used in the final executable are
optimized away by the clang++ linker. Is there any way to prevent clang++
to strip away these functions ? Maybe by some __attribute__ prefixed at the
the function signature ? I did some google search, but with no luck.

Thank you,
Trent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20131014/5757de93/attachment.html>


More information about the cfe-users mailing list