diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-06 20:01:49 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-06 20:01:49 +0000 |
commit | 040725723ed28a8188ca8d0a7301fb2b76fbb79c (patch) | |
tree | 6e411b823ce18e52e146cd5e725454e81bf92b1f /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | a5099dce6263405d72d19f3783156492e436d31f (diff) | |
download | llvm-040725723ed28a8188ca8d0a7301fb2b76fbb79c.zip llvm-040725723ed28a8188ca8d0a7301fb2b76fbb79c.tar.gz llvm-040725723ed28a8188ca8d0a7301fb2b76fbb79c.tar.bz2 |
MSan told me that we actually dump the entire scratch buffer into PCH files, initialize it.
Writing 4k of zeros is preferrable to 4k of random memory. Document that. While
there remove the initialization of the first byte of the buffer and start at
index zero. It was writing a literal '0' instead of a null byte at the
beginning anyways, which didn't matter since we never read it.
llvm-svn: 234202
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions