Fix CodeGen/WebAssembly/global.ll test under ASAN.
authorAlexander Kornienko <alexfh@google.com>
Wed, 23 Sep 2015 15:41:25 +0000 (15:41 +0000)
committerAlexander Kornienko <alexfh@google.com>
Wed, 23 Sep 2015 15:41:25 +0000 (15:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248388 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp

index 94ea108..f28d2e6 100644 (file)
@@ -45,7 +45,7 @@ class WebAssemblyAsmPrinter final : public AsmPrinter {
 
 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 {