1 ## Test that note values are interpreted correctly for files with multiple sections.
3 ## Check NT_PRSTATUS + NT_PRPSINFO.
4 # RUN: yaml2obj %s -DTYPE1=0x1 -DTYPE2=0x3 -o %t1.o
5 # RUN: llvm-readelf --elf-output-style=JSON --pretty-print --notes %t1.o | FileCheck %s --check-prefix=CHECK-JSON -DDESC1="NT_PRSTATUS (prstatus structure)" -DDESC2="NT_PRPSINFO (prpsinfo structure)"
6 # CHECK-JSON: "Size": 40,
7 # CHECK-JSON-NEXT: "Notes": [
9 # CHECK-JSON-NEXT: "Owner": "CORE",
10 # CHECK-JSON-NEXT: "Data size": 0,
11 # CHECK-JSON-NEXT: "Type": "[[DESC1]]"
14 # CHECK-JSON-NEXT: "Owner": "CORE",
15 # CHECK-JSON-NEXT: "Data size": 0,
16 # CHECK-JSON-NEXT: "Type": "[[DESC2]]"