]> granicus.if.org Git - llvm/commitdiff
[ORC] Fix an ambiguous call in a unit test.
authorLang Hames <lhames@gmail.com>
Tue, 30 Apr 2019 02:43:01 +0000 (02:43 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 30 Apr 2019 02:43:01 +0000 (02:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359529 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp

index ec167a1cdbd764ec554fec1c08248f82542e242d..f5088e387613c5a09f9615e2dc66f30fa02ba63a 100644 (file)
@@ -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<StringError>())
       << "Generator failure did not propagate through lookup";
 }