aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2016-04-20 04:26:16 +0000
committerSean Silva <chisophugis@gmail.com>2016-04-20 04:26:16 +0000
commit580c1b6952d64d807716886e3e1cc84e94a2be51 (patch)
tree5bb731e38381c246ba885269d7310f640fd0168c /llvm/lib/IR/Module.cpp
parentbb3a1d92f3621f617a308731806eb95e1d763856 (diff)
downloadllvm-580c1b6952d64d807716886e3e1cc84e94a2be51.zip
llvm-580c1b6952d64d807716886e3e1cc84e94a2be51.tar.gz
llvm-580c1b6952d64d807716886e3e1cc84e94a2be51.tar.bz2
Revert "[ELF] - Avoid using memset for zero-initialization of struct member. NFC."
This reverts commit r266618. It breaks basically everything. I think VS2013 doesn't interpret this code in the same way. The size field (at least) is left uninitialized, causing all sorts of havok (e.g. creating a 34GB file for a trivial hello world program). The offending compiler reports itself as follows: c:\release-vs2013>cl /? Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64 Copyright (C) Microsoft Corporation. All rights reserved. llvm-svn: 266857
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions