[wasm] Fix uninitialized memory introduced in r330749.
commit69c41b0e9f0dddc06e6e3ac16947d70bc68b10fe
authorChandler Carruth <chandlerc@gmail.com>
Tue, 24 Apr 2018 20:30:56 +0000 (24 20:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 24 Apr 2018 20:30:56 +0000 (24 20:30 +0000)
treef0c700ea2a9b180d27fc8f9fac679243a049056a
parent6d051a1ed401eb4fd6dca025273dd1f73c5642db
[wasm] Fix uninitialized memory introduced in r330749.

Found with MSan. This was causing all the WASM MC tests to fail about
10% of the time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330764 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WasmObjectWriter.cpp