summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2017-02-20 18:33:40 +0000
committerSteven Wu <stevenwu@apple.com>2017-02-20 18:33:40 +0000
commitabfea288671bdad695d80f8e055ae6cc4d3b093c (patch)
treedd6f6a59484d56be69ba1af82f6b0599517cbf0c /llvm/lib/Transforms/Utils/CloneModule.cpp
parent51c0128310776a21dc5650d84f2a2f9a9ea62675 (diff)
downloadbcm5719-llvm-abfea288671bdad695d80f8e055ae6cc4d3b093c.tar.gz
bcm5719-llvm-abfea288671bdad695d80f8e055ae6cc4d3b093c.zip
Fix use-after-free found by ASAN
DenseMap::lookup returns copy of the value in the map. Returning the address of the temporary return value will cause use-after-free. llvm-svn: 295675
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud