[llvm] r224481 - [dsymutil] Fix missing member initializer.

Alexey Samsonov vonosmas at gmail.com
Wed Dec 17 16:45:33 PST 2014


Author: samsonov
Date: Wed Dec 17 18:45:32 2014
New Revision: 224481

URL: http://llvm.org/viewvc/llvm-project?rev=224481&view=rev
Log:
[dsymutil] Fix missing member initializer.

This bug was found by the MSan bootstrap bot:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/5330/steps/check-llvm%20msan/logs/stdio

Modified:
    llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp

Modified: llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp?rev=224481&r1=224480&r2=224481&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp (original)
+++ llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp Wed Dec 17 18:45:32 2014
@@ -21,7 +21,8 @@ using namespace llvm::object;
 class MachODebugMapParser {
 public:
   MachODebugMapParser(StringRef BinaryPath, StringRef PathPrefix = "")
-      : BinaryPath(BinaryPath), PathPrefix(PathPrefix) {}
+      : BinaryPath(BinaryPath), PathPrefix(PathPrefix),
+        CurrentDebugMapObject(nullptr) {}
 
   /// \brief Parses and returns the DebugMap of the input binary.
   /// \returns an error in case the provided BinaryPath doesn't exist





More information about the llvm-commits mailing list