[JITLink] Fix typo in block address in unittest.

The address isn't currently used in this test but overlaps with Block B1,
which is a dubious state for a LinkGraph to be in.
This commit is contained in:
Lang Hames 2022-08-07 21:55:03 -07:00
parent 6494920987
commit f1b5d30f15
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ TEST(LinkGraphTest, BlockAndSymbolIteration) {
auto &Sec1 = G.createSection("__data.1", MemProt::Read | MemProt::Write);
orc::ExecutorAddr B1Addr(0x1000);
auto &B1 = G.createContentBlock(Sec1, BlockContent, B1Addr, 8, 0);
orc::ExecutorAddr B2Addr(0x1000);
orc::ExecutorAddr B2Addr(0x2000);
auto &B2 = G.createContentBlock(Sec1, BlockContent, B2Addr, 8, 0);
auto &S1 = G.addDefinedSymbol(B1, 0, "S1", 4, Linkage::Strong, Scope::Default,
false, false);