Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / verify_dwarf5_debug_line.yaml
blob15de811a31e6c44ef0d5a615466d5ec3cfc4a2f6
1 # RUN: llvm-mc %s -filetype obj -triple x86_64-unknown-linux-gnu -o %t.out
2 # RUN: llvm-dwarfdump --verbose -verify %t.out | FileCheck %s
4 # CHECK: Verifying .debug_line...
6         .text
7         .file   "dwarf5.c"
8         .globl  main                            # -- Begin function main
9         .p2align        4, 0x90
10         .type   main,@function
11 main:                                   # @main
12 .Lfunc_begin0:
13         .file   0 "/tmp" "dwarf5.c" md5 0xa6f6c381b31c93c579beac58181f5d01
14         .loc    0 1 0                           # dwarf5.c:1:0
15         .cfi_startproc
16 # %bb.0:                                # %entry
17         pushq   %rbp
18         .cfi_def_cfa_offset 16
19         .cfi_offset %rbp, -16
20         movq    %rsp, %rbp
21         .cfi_def_cfa_register %rbp
22         movl    $0, -4(%rbp)
23         movl    %edi, -8(%rbp)
24         movq    %rsi, -16(%rbp)
25 .Ltmp0:
26         .loc    0 2 3 prologue_end              # dwarf5.c:2:3
27         xorl    %eax, %eax
28         .loc    0 2 3 epilogue_begin is_stmt 0  # dwarf5.c:2:3
29         popq    %rbp
30         .cfi_def_cfa %rsp, 8
31         retq
32 .Ltmp1:
33 .Lfunc_end0:
34         .size   main, .Lfunc_end0-main
35         .cfi_endproc
36                                         # -- End function
37 .Linfo_string0:
38         .asciz  "clang version 17.0.0" # string offset=0
39 .Linfo_string1:
40         .asciz  "dwarf5.c"                      # string offset=101
41 .Linfo_string2:
42         .asciz  "/tmp"                          # string offset=110
43         .section        .debug_str_offsets,"",@progbits
44         .long   .Lstr_off_end - .Lstr_off_begin # Length of String Offsets Set
45 .Lstr_off_begin:
46         .short  5
47         .short  0
48         .long   .Linfo_string0
49         .long   .Linfo_string1
50         .long   .Linfo_string2
51 .Lstr_off_end:
52         .ident  "clang version 17.0.0"
53 .Lline_table_start0: