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 | 13a8e2da7636b9f90d10cd77ac2a9194aa492cb4 (patch) | |
| tree | 2c92077b830a39be54caab5121f07f1ea51a3e88 /lib/AsmParser/LLParser.h | |
| parent | b317987c2bc5b5a3df145f22b650197ba0caf2a7 (diff) | |
| download | external_llvm-13a8e2da7636b9f90d10cd77ac2a9194aa492cb4.zip external_llvm-13a8e2da7636b9f90d10cd77ac2a9194aa492cb4.tar.gz external_llvm-13a8e2da7636b9f90d10cd77ac2a9194aa492cb4.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
0 files changed, 0 insertions, 0 deletions
