diff options
| author | Alexey Samsonov <vonosmas@gmail.com> | 2014-12-18 00:45:32 +0000 |
|---|---|---|
| committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-12-18 00:45:32 +0000 |
| commit | d927bd8d15183809789c875ba7371e92145a688e (patch) | |
| tree | e57b7bde844baf5250c32ae019ea592e8a39f331 /llvm/tools/dsymutil | |
| parent | ae628965c4afb428a927b78acf66f056c254e99b (diff) | |
| download | bcm5719-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.cpp | 3 |
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 |

