[lldb] Make test for D153043 independent of external symbols

This removes dependence on the libc abort function.
This commit is contained in:
Jaroslav Sevcik 2023-06-20 07:19:37 +02:00
parent cb353dc74e
commit 7ac0ff562a

View File

@ -10,7 +10,7 @@ asm_main:
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
callq abort
callq abort_function
.L:
.cfi_def_cfa 7, 8
.cfi_restore 6
@ -18,6 +18,12 @@ asm_main:
ud2
.cfi_endproc
.globl abort_function
abort_function:
.cfi_startproc
ud2
.cfi_endproc
.data
.globl g_hard_abort
g_hard_abort: