hanchenye-llvm-project/lld/unittests
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
..
CoreTests Fix BUILD_SHARED_LIBS build. 2016-03-01 15:56:53 +00:00
DriverTests Merge DarwinLdDriver and Driver. 2016-03-02 19:08:05 +00:00
MachOTests Fix test which failed Error migration on Windows bots. 2016-04-04 16:56:09 +00:00
CMakeLists.txt