diff options
author | Sean Silva <silvas@purdue.edu> | 2013-06-18 01:11:21 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2013-06-18 01:11:21 +0000 |
commit | f62a6005f35837a43924a4bf32416c56798daf6b (patch) | |
tree | a9610e3f3db9995bfcf2ec26c26c7fea3700be6f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cd3523c12d37a3ef7f394556dd4be541609873e9 (diff) | |
download | llvm-f62a6005f35837a43924a4bf32416c56798daf6b.zip llvm-f62a6005f35837a43924a4bf32416c56798daf6b.tar.gz llvm-f62a6005f35837a43924a4bf32416c56798daf6b.tar.bz2 |
[yaml2obj][ELF] Ensure more fields are zero'd.
I was spotting garbage in the output. I'd like to just zero the entire
ELFYAML::Section to be sure, but it contains non-POD types. (I'm also
trying to avoid bloating the ELFYAML::Foo classes with a bunch of
constructor code).
No test, since this is by its very nature unpredictable. I'm pretty sure
that one of the sanitizers would catch it immediately though.
llvm-svn: 184160
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions