summaryrefslogtreecommitdiffstats
path: root/llvm/tools/dsymutil
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-12-18 00:45:32 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-12-18 00:45:32 +0000
commitd927bd8d15183809789c875ba7371e92145a688e (patch)
treee57b7bde844baf5250c32ae019ea592e8a39f331 /llvm/tools/dsymutil
parentae628965c4afb428a927b78acf66f056c254e99b (diff)
downloadbcm5719-llvm-d927bd8d15183809789c875ba7371e92145a688e.tar.gz
bcm5719-llvm-d927bd8d15183809789c875ba7371e92145a688e.zip
[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
Diffstat (limited to 'llvm/tools/dsymutil')
-rw-r--r--llvm/tools/dsymutil/MachODebugMapParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/dsymutil/MachODebugMapParser.cpp b/llvm/tools/dsymutil/MachODebugMapParser.cpp
index 6fabe00ac91..152cbcc938b 100644
--- a/llvm/tools/dsymutil/MachODebugMapParser.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud