[PATCH] D44784: DataFlowSanitizer: do not allow wrapper functions with non-local linkage to have dso_local set.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 22 10:22:20 PDT 2018


pcc added a comment.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D44784





More information about the llvm-commits mailing list