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
_______________________________________________
cfe-users mailing list
cfe-users@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

Reply via email to