[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / DebugInfo / symbolize-build-id.test
blobd63f43ff859e6f3b412b6c78d0809704444ecbc6
1 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-symbolizer --debug-file-directory=/non-existent --obj=%t 0x20112f | FileCheck --check-prefix=UNKNOWN %s
5 # UNKNOWN:      ??
6 # UNKNOWN-NEXT: ??:0:0
8 # RUN: llvm-symbolizer --debug-file-directory=%p/Inputs --obj=%t 0x20112f | FileCheck --check-prefix=FOUND %s
10 # FOUND:      main
11 # FOUND-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
13 --- !ELF
14 FileHeader:
15   Class:   ELFCLASS64
16   Data:    ELFDATA2LSB
17   Type:    ET_EXEC
18   Machine: EM_X86_64
19 Sections:
20   - Name:    .note.gnu.build-id
21     Type:    SHT_NOTE
22     Flags:   [ SHF_ALLOC ]
23     Content: 040000000800000003000000474e5500abb50d82b6bdc861
24 ProgramHeaders:
25   - Type:     PT_NOTE
26     Flags:    [ PF_R ]
27     FirstSec: .note.gnu.build-id
28     LastSec:  .note.gnu.build-id