From 59aafdc2d419a5053d6b85d4f1eca64a81eae69c Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 15 Nov 2019 08:02:44 -0600 Subject: [PATCH] Address non-determinism in DWARF see https://github.com/rust-lang/llvm-project/pull/20/commits/c263ee986fc90d8413f444ced7610dfbdfe97be6#r344425408 --- llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h b/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h index 419f21729ccb4..9fbf4bb8ccd90 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h @@ -61,7 +61,7 @@ class WebAssemblyFunctionInfo final : public MachineFunctionInfo { 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);