[PATCH] D44784: DataFlowSanitizer: wrappers of functions with local linkage should have the same linkage as the function being wrapped
Sam Kerner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 23 10:42:42 PDT 2018
skerner added a comment.
In https://reviews.llvm.org/D44784#1045790, @pcc wrote:
> It seems like a better fix would be to give the `dfsw$` function internal linkage if the wrapped function has internal linkage. That way, if two translation units have static uninstrumented functions with the same name, the references to the `dfsw$` functions will be correct.
Good point. Done.
Repository:
rL LLVM
https://reviews.llvm.org/D44784
More information about the llvm-commits
mailing list