diff options
author | Diana Picus <diana.picus@linaro.org> | 2016-06-09 10:31:05 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2016-06-09 10:31:05 +0000 |
commit | db2aff0ab48a47ffc46fe47ccffb51948ee6351d (patch) | |
tree | e21ec5849e5dd8dac1095a11d791f60b192904c4 /lldb/unittests/ScriptInterpreter/Python | |
parent | 4180f34ecb417e1136745b8846a94e0abadb0888 (diff) | |
download | llvm-db2aff0ab48a47ffc46fe47ccffb51948ee6351d.zip llvm-db2aff0ab48a47ffc46fe47ccffb51948ee6351d.tar.gz llvm-db2aff0ab48a47ffc46fe47ccffb51948ee6351d.tar.bz2 |
[llc] Remove exit-on-error flag from MIR tests (PR27770)
This is made possible by removing an assert in llc that assumed
MIRParser::parseLLVMModule would exit on error. MIRParser's documentation states
that it returns null if a parsing error occurs, so there's no reason to assert.
We can instead just fall through to where the check for a module is performed
and exit if it is null.
This commit is part of the clean-up after r269655.
Fixes PR27770
Differential Revision: http://reviews.llvm.org/D20371
llvm-svn: 272254
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions