llvm-project/lld/unittests/MachOTests
Pete Cooper 4b35a64cb1 Fix test which failed Error migration on Windows bots.
Note, this is https://llvm.org/bugs/show_bug.cgi?id=27187.

The problem here was that just converting an error to a bool doesn't
always set the checked bit.  We only set that bit if the Error didn't
actually contain an error.  Otherwise we'd end potentially up silently
dropping it.

Instead just use the consumeError method which is designed to allow us
to drop an error.

llvm-svn: 265311
2016-04-04 16:56:09 +00:00
..
CMakeLists.txt update library dependency 2014-09-29 23:52:50 +00:00
MachONormalizedFileBinaryReaderTests.cpp Fix test which failed Error migration on Windows bots. 2016-04-04 16:56:09 +00:00
MachONormalizedFileBinaryWriterTests.cpp Convert readBinary to llvm::Error. NFC 2016-03-30 23:58:24 +00:00
MachONormalizedFileToAtomsTests.cpp Convert normalized file to atoms methods to new error handling. NFC. 2016-03-30 23:43:27 +00:00
MachONormalizedFileYAMLTests.cpp Use Expected<T> instead of ErrorOr<T>in yaml reader. NFC 2016-03-31 01:13:04 +00:00
empty_obj_x86_armv7.txt [MachO] Begin support for reading fat binaries. 2014-01-14 22:32:38 +00:00