commit | 9541cc2882d78859a8919186c2ad1f857d7f1746 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Fri Mar 30 18:37:55 2018 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Fri Mar 30 18:37:55 2018 +0000 |
tree | 8e5390602945f55b4e161a9483664b17a3031a26 | |
parent | eed988e3e729e9320714624bcde0029e0f7c35cc [diff] |
DataFlowSanitizer: wrappers of functions with local linkage should have the same linkage as the function being wrapped This patch resolves link errors when the address of a static function is taken, and that function is uninstrumented by DFSan. This change resolves bug 36314. Patch by Sam Kerner! Differential Revision: https://reviews.llvm.org/D44784 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328890 91177308-0d34-0410-b5e6-96231b3b80d8