summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-09-16 11:03:31 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-09-16 11:03:31 +0000
commit65562f52817d3667813aa1a879ab8849877f439d (patch)
tree8ba1adf955acbcc476aad8749d18f612ae81fcf9 /llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
parent05bcde6d9a79c2356a25bde8d6d9d63794bc6029 (diff)
downloadbcm5719-llvm-65562f52817d3667813aa1a879ab8849877f439d.tar.gz
bcm5719-llvm-65562f52817d3667813aa1a879ab8849877f439d.zip
[msan] Fix origin of deallocated memory.
MSan poisons deallocated memory but it used to give it an invalid origin value, resulting in confusing reports. This change associates deallocation stack trace with such memory. Note that MSan does not have quarantine, and use-after-free detection is very limited. llvm-svn: 190781
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud