forked from OSchip/llvm-project
[ORC] Update LinkGraph unit tests for API change in 75404e9ef8
.
This commit is contained in:
parent
258d7b86ee
commit
a5f0054915
|
@ -307,7 +307,7 @@ TEST(LinkGraphTest, MakeAbsolute) {
|
|||
<< "Unexpected number of external symbols";
|
||||
|
||||
// Add an external symbol.
|
||||
auto &S2 = G.addExternalSymbol("S2", 0, Linkage::Strong);
|
||||
auto &S2 = G.addExternalSymbol("S2", 0, true);
|
||||
|
||||
EXPECT_TRUE(S2.isExternal()) << "Symbol should be external";
|
||||
EXPECT_EQ(
|
||||
|
@ -356,7 +356,7 @@ TEST(LinkGraphTest, MakeDefined) {
|
|||
auto &B1 = G.createContentBlock(Sec, BlockContent, B1Addr, 8, 0);
|
||||
|
||||
// Add an external symbol.
|
||||
auto &S1 = G.addExternalSymbol("S1", 4, Linkage::Strong);
|
||||
auto &S1 = G.addExternalSymbol("S1", 4, true);
|
||||
|
||||
EXPECT_FALSE(S1.isDefined()) << "Symbol should not be defined";
|
||||
EXPECT_TRUE(S1.isExternal()) << "Symbol should be external";
|
||||
|
|
Loading…
Reference in New Issue