From: Alexey Samsonov Date: Thu, 18 Dec 2014 00:45:32 +0000 (+0000) Subject: [dsymutil] Fix missing member initializer. X-Git-Tag: android-x86-7.1-r4~54305 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=11bc075321479ff7004458e287c6503a17fb8d37;p=android-x86%2Fexternal-llvm.git [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224481 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/dsymutil/MachODebugMapParser.cpp b/tools/dsymutil/MachODebugMapParser.cpp index 6fabe00ac91..152cbcc938b 100644 --- a/tools/dsymutil/MachODebugMapParser.cpp +++ b/tools/dsymutil/MachODebugMapParser.cpp @@ -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