commit | de1a7dbf6c6b34f56e65732d45970ff27a8e84bf | [log] [tgz] |
---|---|---|
author | Yury Delendik <ydelendik@mozilla.com> | Fri Nov 15 08:02:44 2019 -0600 |
committer | Alex Crichton <alex@alexcrichton.com> | Fri Nov 15 10:01:11 2019 -0600 |
tree | 0455a3c9be55049a33659be9be466b0766289ec2 | |
parent | cf9304d6d0c6a66c27a1664dd55d8bcc8be0bf09 [diff] |
Address non-determinism in DWARF see https://github.com/rust-lang/llvm-project/pull/20/commits/c263ee986fc90d8413f444ced7610dfbdfe97be6#r344425408
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h b/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h index 419f217..9fbf4bb 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
@@ -61,7 +61,7 @@ public: explicit WebAssemblyFunctionInfo(MachineFunction &MF) - : MF(MF), SPVReg(WebAssembly::NoRegister) {} + : MF(MF), SPVReg(WebAssembly::NoRegister), SPLocal(-1) {} ~WebAssemblyFunctionInfo() override; void initializeBaseYamlFields(const yaml::WebAssemblyFunctionInfo &YamlMFI);