llvm-project/llvm/test/tools/lto
Nico Weber 05c988473f LTOModule::isBitcodeFile() shouldn't assert when returning false.
Fixes a bunch of assert-on-invalid-bitcode regressions after 315483.
Expected<> calls assertIsChecked() in its dtor, and operator bool() only calls
setChecked() if there's no error. So for functions that don't return an error
itself, the Expected<> version needs explicit code to disarm the error that the
ErrorOr<> code didn't need.

https://reviews.llvm.org/D39437

llvm-svn: 317010
2017-10-31 16:39:47 +00:00
..
hide-linkonce-odr.ll
lit.local.cfg [test] Enable LeakSanitizer on 64-bit Darwin ASan llvm builds 2017-09-29 16:51:50 +00:00
no-bitcode.s LTOModule::isBitcodeFile() shouldn't assert when returning false. 2017-10-31 16:39:47 +00:00
opt-level.ll
print-stats.ll