commit | ab86d3da7ac4e85e9f363fe3a74a21d61e719a9d | [log] [tgz] |
---|---|---|
author | Pavel Labath <pavel@labath.sk> | Fri Feb 22 13:36:01 2019 +0000 |
committer | Pavel Labath <pavel@labath.sk> | Fri Feb 22 13:36:01 2019 +0000 |
tree | a04e3bc39e73679c675c6238cce52017c6d33996 | |
parent | acb628b2afb4b43dd0224c393f1ff47abd3b9045 [diff] |
Avoid two-stage initialization of MinidumpParser remove the Initialize function, move the things that can fail into the static factory function. The factory function now returns Expected<Parser> instead of Optional<Parser> so that it can give a reason why creation failed. llvm-svn: 354668