Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / MachO / dwarf-no-compile-unit.s
blobced2467ca95d062ee485ec3c61943aa5aa643eaa
1 # REQUIRES: aarch64
3 ## Check that LLD does not crash if it encounters DWARF sections
4 ## without __debug_info compile unit DIEs being present.
6 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %s -o %t.o
7 # RUN: %lld -arch arm64 %t.o -o /dev/null
9 .text
10 .globl _main
11 _main:
12 ret
14 .section __DWARF,__debug_abbrev,regular,debug
15 .byte 0