xref: /llvm-project/lld/test/MachO/dwarf-no-compile-unit.s (revision 77b6efbd8290b4799b69bdbf93e22d30836a16b4)
1# REQUIRES: aarch64
2
3## Check that LLD does not crash if it encounters DWARF sections
4## without __debug_info compile unit DIEs being present.
5
6# RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %s -o %t.o
7# RUN: %lld -arch arm64 %t.o -o /dev/null
8
9.text
10.globl _main
11_main:
12  ret
13
14.section  __DWARF,__debug_abbrev,regular,debug
15  .byte 0
16