commit | d927bd8d15183809789c875ba7371e92145a688e | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <vonosmas@gmail.com> | Thu Dec 18 00:45:32 2014 +0000 |
committer | Alexey Samsonov <vonosmas@gmail.com> | Thu Dec 18 00:45:32 2014 +0000 |
tree | e57b7bde844baf5250c32ae019ea592e8a39f331 | |
parent | ae628965c4afb428a927b78acf66f056c254e99b [diff] [blame] |
[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
diff --git a/llvm/tools/dsymutil/MachODebugMapParser.cpp b/llvm/tools/dsymutil/MachODebugMapParser.cpp index 6fabe00..152cbcc 100644 --- a/llvm/tools/dsymutil/MachODebugMapParser.cpp +++ b/llvm/tools/dsymutil/MachODebugMapParser.cpp
@@ -21,7 +21,8 @@ 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