From: Lang Hames Date: Tue, 30 Apr 2019 02:43:01 +0000 (+0000) Subject: [ORC] Fix an ambiguous call in a unit test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f235e145c916630625363602d12b67f15b279482;p=llvm [ORC] Fix an ambiguous call in a unit test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359529 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp b/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp index ec167a1cdbd..f5088e38761 100644 --- a/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp +++ b/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp @@ -288,7 +288,8 @@ TEST_F(CoreAPIsStandardTest, LookupWithGeneratorFailure) { << "Generator failure did not propagate through lookupFlags"; EXPECT_THAT_ERROR( - ES.lookup(JITDylibSearchList({{&JD, false}}), {Foo}).takeError(), + ES.lookup(JITDylibSearchList({{&JD, false}}), SymbolNameSet({Foo})) + .takeError(), Failed()) << "Generator failure did not propagate through lookup"; }