[llvm] r248388 - Fix CodeGen/WebAssembly/global.ll test under ASAN.

Alexander Kornienko via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 08:41:25 PDT 2015


Author: alexfh
Date: Wed Sep 23 10:41:25 2015
New Revision: 248388

URL: http://llvm.org/viewvc/llvm-project?rev=248388&view=rev
Log:
Fix CodeGen/WebAssembly/global.ll test under ASAN.

Modified:
    llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp

Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp?rev=248388&r1=248387&r2=248388&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp Wed Sep 23 10:41:25 2015
@@ -45,7 +45,7 @@ class WebAssemblyAsmPrinter final : publ
 
 public:
   WebAssemblyAsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer)
-      : AsmPrinter(TM, std::move(Streamer)), TII(nullptr) {}
+      : AsmPrinter(TM, std::move(Streamer)), hasAddr64(false), TII(nullptr) {}
 
 private:
   const char *getPassName() const override {




More information about the llvm-commits mailing list