llvm.org GIT mirror llvm / ed68120
Fix uninitialized memory read in llvm-dsymutil for the second time. This was already fixed by r224481, but apparently was accidentally reverted in r225207. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225386 91177308-0d34-0410-b5e6-96231b3b80d8 Alexey Samsonov 4 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2323 MachODebugMapParser(StringRef BinaryPath, StringRef PathPrefix = "",
2424 bool Verbose = false)
2525 : BinaryPath(BinaryPath), PathPrefix(PathPrefix),
26 MainBinaryHolder(Verbose), CurrentObjectHolder(Verbose) {}
26 MainBinaryHolder(Verbose), CurrentObjectHolder(Verbose),
27 CurrentDebugMapObject(nullptr) {}
2728
2829 /// \brief Parses and returns the DebugMap of the input binary.
2930 /// \returns an error in case the provided BinaryPath doesn't exist