Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / DebugInfo / X86 / debug-frame-dwarf64.s
blob9253cede16a48b88a8fdc00529d9d013d74e5c84
1 # RUN: llvm-mc -triple x86_64 %s -filetype=obj -o - | \
2 # RUN: llvm-dwarfdump -debug-frame - | \
3 # RUN: FileCheck %s
5 # CHECK: 00000000 0000000000000010 ffffffffffffffff CIE
6 # CHECK-NEXT: Format: DWARF64
7 # CHECK-NEXT: Version: 4
8 # CHECK-NEXT: Augmentation: ""
9 # CHECK-NEXT: Address size: 8
10 # CHECK-NEXT: Segment desc size: 0
11 # CHECK-NEXT: Code alignment factor: 1
12 # CHECK-NEXT: Data alignment factor: -8
13 # CHECK-NEXT: Return address column: 16
14 # CHECK-EMPTY:
15 # CHECK-NEXT: DW_CFA_nop:
17 # CHECK: 0000001c 0000000000000018 0000000000000000 FDE cie=00000000 pc=00112233...00122233
18 # CHECK-NEXT: Format: DWARF64
20 .section .debug_frame, "", @progbits
21 .LCIE:
22 .long 0xffffffff # DWARF64 mark
23 .quad .LCIEend-.LCIEid # Length
24 .LCIEid:
25 .quad 0xffffffffffffffff # CIE id
26 .byte 4 # Version
27 .asciz "" # Augmentation
28 .byte 8 # Address size
29 .byte 0 # Segment selector size
30 .uleb128 1 # Code alignment factor
31 .sleb128 -8 # Data alignment factor
32 .uleb128 16 # Return address register
33 .byte 0 # DW_CFA_nop
34 .LCIEend:
35 .LFDE:
36 .long 0xffffffff # DWARF64 mark
37 .quad .LFDEend-.LFDEcieptr # Length
38 .LFDEcieptr:
39 .quad .LCIE-.debug_frame # CIE pointer
40 .quad 0x00112233 # Initial location
41 .quad 0x00010000 # Address range
42 .LFDEend: