[llvm] a5f0054 - [ORC] Update LinkGraph unit tests for API change in 75404e9ef88.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 25 22:04:12 PDT 2022
Author: Lang Hames
Date: 2022-09-25T22:02:15-07:00
New Revision: a5f005491557e3b5bbf627e1b2af3e7a3d5618c4
URL: https://github.com/llvm/llvm-project/commit/a5f005491557e3b5bbf627e1b2af3e7a3d5618c4
DIFF: https://github.com/llvm/llvm-project/commit/a5f005491557e3b5bbf627e1b2af3e7a3d5618c4.diff
LOG: [ORC] Update LinkGraph unit tests for API change in 75404e9ef88.
Added:
Modified:
llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp b/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
index 9e54c7745e4dd..63b161ed73e0b 100644
--- a/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
+++ b/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
@@ -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";
More information about the llvm-commits
mailing list