1 ## Test that note values are interpreted correctly for core files.
3 # RUN: yaml2obj %s > %t.o
4 # RUN: llvm-readelf --notes %t.o | FileCheck %s --check-prefix=GNU
5 # RUN: llvm-readobj --notes %t.o | FileCheck %s --check-prefix=LLVM
16 # Note: format is 0500000000000000<NT_FOO value>434F524500000000 repeated
17 Content: 050000000000000001000000434F524500000000050000000000000002000000434F524500000000050000000000000003000000434F524500000000050000000000000004000000434F524500000000050000000000000006000000434F524500000000
23 # GNU: Displaying notes found
24 # GNU-NEXT: Owner Data size Description
25 # GNU-NEXT: CORE 0x00000000 NT_PRSTATUS (prstatus structure)
26 # GNU-NEXT: CORE 0x00000000 NT_FPREGSET (floating point registers)
27 # GNU-NEXT: CORE 0x00000000 NT_PRPSINFO (prpsinfo structure)
28 # GNU-NEXT: CORE 0x00000000 NT_TASKSTRUCT (task structure)
29 # GNU-NEXT: CORE 0x00000000 NT_AUXV (auxiliary vector)
32 # LLVM-NEXT: NoteSection {
36 # LLVM-NEXT: Owner: CORE
37 # LLVM-NEXT: Data size: 0x0
38 # LLVM-NEXT: Type: NT_PRSTATUS (prstatus structure)
41 # LLVM-NEXT: Owner: CORE
42 # LLVM-NEXT: Data size: 0x0
43 # LLVM-NEXT: Type: NT_FPREGSET (floating point registers)
46 # LLVM-NEXT: Owner: CORE
47 # LLVM-NEXT: Data size: 0x0
48 # LLVM-NEXT: Type: NT_PRPSINFO (prpsinfo structure)
51 # LLVM-NEXT: Owner: CORE
52 # LLVM-NEXT: Data size: 0x0
53 # LLVM-NEXT: Type: NT_TASKSTRUCT (task structure)
56 # LLVM-NEXT: Owner: CORE
57 # LLVM-NEXT: Data size: 0x0
58 # LLVM-NEXT: Type: NT_AUXV (auxiliary vector)