[all-commits] [llvm/llvm-project] e49584: [WebAssembly] Fix for use of uninitialized member ...
Sam Clegg via All-commits
all-commits at lists.llvm.org
Tue Jun 23 15:27:14 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e49584a34a1242e4f9f0b6e65f19e3cbec43d906
https://github.com/llvm/llvm-project/commit/e49584a34a1242e4f9f0b6e65f19e3cbec43d906
Author: Sam Clegg <sbc at chromium.org>
Date: 2020-06-23 (Tue, 23 Jun 2020)
Changed paths:
M llvm/lib/MC/WasmObjectWriter.cpp
Log Message:
-----------
[WebAssembly] Fix for use of uninitialized member in WasmObjectWriter.cpp
Currently, section indices may be passed uninitialized by value if
writing the section fails. Removes section indices form class
initialization and returns them from the write{Code,Data}Section
function calls instead.
Patch by Gui Andrade!
Differential Revision: https://reviews.llvm.org/D81702
More information about the All-commits
mailing list