[yaml2obj][obj2yaml] - Do not create a symbol table by default.
[llvm-complete.git] / test / tools / llvm-objdump / openbsd-headers.test
blob7ff1c5390c2d529c2b59c6d94051b03e43ec6835
1 ## Check that llvm-objdump dumps OpenBSD program headers correctly.
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-objdump -p %t | FileCheck %s
6 # CHECK:      OPENBSD_RANDOMIZE off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**0
7 # CHECK-NEXT:      filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
8 # CHECK-NEXT: OPENBSD_WXNEEDED off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**0
9 # CHECK-NEXT:      filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
10 # CHECK-NEXT: OPENBSD_BOOTDATA off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**0
11 # CHECK-NEXT:      filesz 0x0000000000000000 memsz 0x0000000000000000 flags ---
13 --- !ELF
14 FileHeader:
15   Class:   ELFCLASS64
16   Data:    ELFDATA2LSB
17   Type:    ET_EXEC
18   Machine: EM_X86_64
19 ProgramHeaders:
20   - Type: 0x65a3dbe6 ## PT_OPENBSD_RANDOMIZE
21   - Type: 0x65a3dbe7 ## PT_OPENBSD_WXNEEDED
22   - Type: 0x65a41be6 ## PT_OPENBSD_BOOTDATA