summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2014-08-19 01:47:33 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2014-08-19 01:47:33 +0000
commit82ff058cf9f8e95b44da737c86f7db419e335c6d (patch)
treea39fbf66a6ef7750d4b84fa1d868a56d152bf57b /llvm/test
parentdfd04582ae3c84e92700710b92d614dd0f51cce5 (diff)
downloadbcm5719-llvm-82ff058cf9f8e95b44da737c86f7db419e335c6d.tar.gz
bcm5719-llvm-82ff058cf9f8e95b44da737c86f7db419e335c6d.zip
DFSan's set label function should avoid writing to the shadow memory when the write would not change the value in memory.
When writing a label to shadow memory, don't write if the value is already set to the value being written. This dramatically reduces real memory consumption in programs with sparse use of labels. Test Plan: It would be nice to test that unnecessary writes are skipped, but I do not see how a unit test could do this. Patch by Sam Kerner! Differential Revision: http://reviews.llvm.org/D4894 llvm-svn: 215961
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud