[LoopVectorizer] Add support for chaining partial reductions (#120272)
[llvm-project.git] / llvm / test / tools / llvm-readobj / ELF / note-openbsd-core.test
blob3044fded0d6fa71a5ebca2e72670afe177d0ca69
1 ## Test that note values are interpreted correctly for OpenBSD core files.
2 # RUN: yaml2obj %s -o %t.o
3 # RUN: llvm-readelf --notes %t.o | FileCheck %s --check-prefix=GNU --strict-whitespace
4 # RUN: llvm-readobj --notes %t.o | FileCheck %s --check-prefix=LLVM --strict-whitespace
6 --- !ELF
7 FileHeader:
8   Class: ELFCLASS64
9   Data:  ELFDATA2LSB
10   Type:  ET_CORE
11 Sections:
12   - Name: .note.foo
13     Type: SHT_NOTE
14     Notes:
15       - Name: OpenBSD
16         Type: NT_OPENBSD_PROCINFO
17       - Name: OpenBSD
18         Type: NT_OPENBSD_AUXV
19       - Name: OpenBSD
20         Type: NT_OPENBSD_WCOOKIE
21       - Name: OpenBSD@31337
22         Type: NT_OPENBSD_REGS
23       - Name: OpenBSD@31337
24         Type: NT_OPENBSD_FPREGS
25 ProgramHeaders:
26   - Type:     PT_NOTE
27     FirstSec: .note.foo
28     LastSec:  .note.foo
30 # GNU:      Displaying notes found at file offset 0x00000078 with length 0x00000074:
31 # GNU-NEXT:   Owner                Data size    Description
32 # GNU-NEXT:   OpenBSD              0x00000000   NT_OPENBSD_PROCINFO (procinfo structure)
33 # GNU-NEXT:   OpenBSD              0x00000000   NT_OPENBSD_AUXV (ELF auxiliary vector data)
34 # GNU-NEXT:   OpenBSD              0x00000000   NT_OPENBSD_WCOOKIE (window cookie)
35 # GNU-NEXT:   OpenBSD@31337        0x00000000   NT_OPENBSD_REGS (regular registers)
36 # GNU-NEXT:   OpenBSD@31337        0x00000000   NT_OPENBSD_FPREGS (floating point registers)
38 # LLVM:      NoteSections [
39 # LLVM-NEXT:   NoteSection {
40 # LLVM-NEXT:     Name: <?>
41 # LLVM-NEXT:     Offset: 0x78
42 # LLVM-NEXT:     Size: 0x74
43 # LLVM-NEXT:     Notes [
44 # LLVM-NEXT:        {
45 # LLVM-NEXT:            Owner: OpenBSD
46 # LLVM-NEXT:            Data size: 0x0
47 # LLVM-NEXT:            Type: NT_OPENBSD_PROCINFO (procinfo structure)
48 # LLVM-NEXT:        }
49 # LLVM-NEXT:        {
50 # LLVM-NEXT:            Owner: OpenBSD
51 # LLVM-NEXT:            Data size: 0x0
52 # LLVM-NEXT:            Type: NT_OPENBSD_AUXV (ELF auxiliary vector data)
53 # LLVM-NEXT:        }
54 # LLVM-NEXT:        {
55 # LLVM-NEXT:            Owner: OpenBSD
56 # LLVM-NEXT:            Data size: 0x0
57 # LLVM-NEXT:            Type: NT_OPENBSD_WCOOKIE (window cookie)
58 # LLVM-NEXT:        }
59 # LLVM-NEXT:        {
60 # LLVM-NEXT:            Owner: OpenBSD@31337
61 # LLVM-NEXT:            Data size: 0x0
62 # LLVM-NEXT:            Type: NT_OPENBSD_REGS (regular registers)
63 # LLVM-NEXT:        }
64 # LLVM-NEXT:        {
65 # LLVM-NEXT:            Owner: OpenBSD@31337
66 # LLVM-NEXT:            Data size: 0x0
67 # LLVM-NEXT:            Type: NT_OPENBSD_FPREGS (floating point registers)
68 # LLVM-NEXT:        }
69 # LLVM-NEXT:    ]
70 # LLVM-NEXT:   }
71 # LLVM-NEXT: ]