projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
535448e
)
[ORC] Consume unhandled errors in unit test.
author
Lang Hames
<lhames@gmail.com>
Sun, 7 Oct 2018 01:08:02 +0000
(
01:08
+0000)
committer
Lang Hames
<lhames@gmail.com>
Sun, 7 Oct 2018 01:08:02 +0000
(
01:08
+0000)
This should fix the failures on the debug buildbots.
llvm-svn: 343929
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
b/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
index
47f62a7
..
cd74218
100644
(file)
--- a/
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
+++ b/
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
@@
-167,6
+167,7
@@
TEST_F(CoreAPIsStandardTest, RemoveSymbolsTest) {
EXPECT_TRUE(!!Err) << "Expected failure";
EXPECT_TRUE(Err.isA<SymbolsNotFound>())
<< "Expected a SymbolsNotFound error";
+ consumeError(std::move(Err));
}
{
@@
-175,6
+176,7
@@
TEST_F(CoreAPIsStandardTest, RemoveSymbolsTest) {
EXPECT_TRUE(!!Err) << "Expected failure";
EXPECT_TRUE(Err.isA<SymbolsCouldNotBeRemoved>())
<< "Expected a SymbolsNotFound error";
+ consumeError(std::move(Err));
}
BazR->resolve({{Baz, BazSym}});