diff --git a/lldb/lit/Unwind/Inputs/trap_frame_sym_ctx.s b/lldb/lit/Unwind/Inputs/trap_frame_sym_ctx.s index bbced6656cf5..50ede2d34d38 100644 --- a/lldb/lit/Unwind/Inputs/trap_frame_sym_ctx.s +++ b/lldb/lit/Unwind/Inputs/trap_frame_sym_ctx.s @@ -18,7 +18,7 @@ asm_main: # install tramp as return address # (similar to signal return trampolines on some platforms) - leaq tramp, %rax + leaq tramp(%rip), %rax pushq %rax jmp bar # call, with return address pointing to tramp