Skip to content

Commit 9034154

Browse files
authored
Merge pull request #91 from K900/patch-1
Work around LLVM bug
2 parents 5ee22be + 9583c80 commit 9034154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/arch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ cfg_match! {
146146
"lea r10, [rip + {context}]",
147147
"mov r11, [r10 + {size} * 1]", // .env_entry
148148
"test r11, r11",
149-
"jz 1f",
149+
"jz 2f",
150150
"mov r10, [r10 + {size} * 2]", // .env_string
151151
"mov [r11], r10",
152-
"1:",
152+
"2:",
153153
"jmp [rip + {context}]",
154154
context = sym TRAMPOLINE_CONTEXT,
155155
size = const core::mem::size_of::<*const u8>(),

0 commit comments

Comments
 (0)