From a3eaa204e63587df80a51163c1c21e8c3ac7ed20 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Wed, 23 Sep 2015 15:41:25 +0000 Subject: [PATCH] Fix CodeGen/WebAssembly/global.ll test under ASAN. llvm-svn: 248388 --- llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp index 94ea1085ff44..f28d2e608265 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp @@ -45,7 +45,7 @@ class WebAssemblyAsmPrinter final : public AsmPrinter { public: WebAssemblyAsmPrinter(TargetMachine &TM, std::unique_ptr Streamer) - : AsmPrinter(TM, std::move(Streamer)), TII(nullptr) {} + : AsmPrinter(TM, std::move(Streamer)), hasAddr64(false), TII(nullptr) {} private: const char *getPassName() const override {