[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

llvm-svn: 224481
This commit is contained in:
Alexey Samsonov 2014-12-18 00:45:32 +00:00
parent ae628965c4
commit d927bd8d15
1 changed files with 2 additions and 1 deletions

View File

@ -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