forked from OSchip/llvm-project
[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:
parent
6494920987
commit
f1b5d30f15
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue