mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[lldb] Make test for D153043 independent of external symbols
This removes dependence on the libc abort function.
This commit is contained in:
parent
cb353dc74e
commit
7ac0ff562a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user