[cfe-users] --wrap option
Steve McFarlin
steve at tokbox.com
Thu May 22 16:17:11 PDT 2014
Hello -
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Is there an equivalent option in clang/lld to wrap a symbol/function? In gcc the option is —wrap.
--wrap symbol Use a wrapper function for symbol. Any undefined reference to symbol will be resolved to __wrap_symbol.
Any undefined reference to __real_symbol will be resolved to symbol.
Thanks,
Steve
More information about the cfe-users
mailing list