mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
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
This commit is contained in:
parent
5061ecc615
commit
ed681200ec
@ -24,7 +24,8 @@ public:
|
||||
MachODebugMapParser(StringRef BinaryPath, StringRef PathPrefix = "",
|
||||
bool Verbose = false)
|
||||
: BinaryPath(BinaryPath), PathPrefix(PathPrefix),
|
||||
MainBinaryHolder(Verbose), CurrentObjectHolder(Verbose) {}
|
||||
MainBinaryHolder(Verbose), CurrentObjectHolder(Verbose),
|
||||
CurrentDebugMapObject(nullptr) {}
|
||||
|
||||
/// \brief Parses and returns the DebugMap of the input binary.
|
||||
/// \returns an error in case the provided BinaryPath doesn't exist
|
||||
|
Loading…
Reference in New Issue
Block a user