Author: Jaroslav Sevcik Date: 2023-06-20T07:28:30+02:00 New Revision: 7ac0ff562ab8b0c2134b17333f4efa6fbbeab48c
URL: https://github.com/llvm/llvm-project/commit/7ac0ff562ab8b0c2134b17333f4efa6fbbeab48c DIFF: https://github.com/llvm/llvm-project/commit/7ac0ff562ab8b0c2134b17333f4efa6fbbeab48c.diff LOG: [lldb] Make test for D153043 independent of external symbols This removes dependence on the libc abort function. Added: Modified: lldb/test/Shell/Unwind/Inputs/eh-frame-dwarf-unwind-abort.s Removed: ################################################################################ diff --git a/lldb/test/Shell/Unwind/Inputs/eh-frame-dwarf-unwind-abort.s b/lldb/test/Shell/Unwind/Inputs/eh-frame-dwarf-unwind-abort.s index 660bb14395e8d..95099ce42d3f5 100644 --- a/lldb/test/Shell/Unwind/Inputs/eh-frame-dwarf-unwind-abort.s +++ b/lldb/test/Shell/Unwind/Inputs/eh-frame-dwarf-unwind-abort.s @@ -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: _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits