summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Minidump.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-04-05 07:56:39 +0000
committerPavel Labath <pavel@labath.sk>2019-04-05 07:56:39 +0000
commit98edcd9b9c28adf36b085c1a33e10328552ae1d4 (patch)
tree58a8c07841d07fd033dab15f12451af0cd3abb0a /llvm/lib/Object/Minidump.cpp
parent546bccf61c620893c0f94c84adf542b0bbad24bb (diff)
downloadbcm5719-llvm-98edcd9b9c28adf36b085c1a33e10328552ae1d4.tar.gz
bcm5719-llvm-98edcd9b9c28adf36b085c1a33e10328552ae1d4.zip
MinidumpParser: use minidump parser in llvm/Object
This patch removes the lower layers of the minidump parsing code from the MinidumpParser class, and replaces it with the minidump parser in llvm. Not all functionality is already avaiable in the llvm class, but it is enough for us to be able to stop enumerating streams manually, and rely on the minidump directory parsing code from the llvm class. This also removes some checked-in binaries which were used to test error handling in the parser, as the error handling is now done (and tested) in llvm. Instead I just add one test that ensures we correctly propagate the errors reported by the llvm parser. The input for this test can be written in yaml instead of a checked-in binary. llvm-svn: 357748
Diffstat (limited to 'llvm/lib/Object/Minidump.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud