aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-11-25 15:24:07 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-11-25 15:24:07 +0000
commit28cacae2f1150bda344b9cedc182ee6f8a81683c (patch)
treeafc44c3d11a8ae9a7e445b87a0a5affc44fc2031 /clang/unittests/Format/FormatTestJava.cpp
parent089c066bd65eb7b12f9d2e2d6382a91a6cedaea8 (diff)
downloadllvm-28cacae2f1150bda344b9cedc182ee6f8a81683c.zip
llvm-28cacae2f1150bda344b9cedc182ee6f8a81683c.tar.gz
llvm-28cacae2f1150bda344b9cedc182ee6f8a81683c.tar.bz2
[msan] Annotate zlib functions for MemorySanitizer.
Mark destination buffer in zlib::compress and zlib::decompress as fully initialized. When building LLVM with system zlib and MemorySanitizer instrumentation, MSan does not observe memory writes in zlib code and erroneously considers zlib output buffers as uninitialized, resulting in false use-of-uninitialized memory reports. This change helps MSan understand the state of that memory and prevents such reports. llvm-svn: 222763
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions