brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · f87ed76 Raw
46 lines · yaml
1# RUN: yaml2obj %s -DBITS=32 -DPR_PADDING= -o %t12# RUN: llvm-readelf --notes %t1 | FileCheck %s --check-prefix=GNU3# RUN: llvm-readobj --notes %t1 | FileCheck %s --check-prefix=LLVM4 5# RUN: yaml2obj %s -DBITS=64 -DPR_PADDING=00000000 -o %t26# RUN: llvm-readelf --notes %t2 | FileCheck %s --check-prefix=GNU7# RUN: llvm-readobj --notes %t2 | FileCheck %s --check-prefix=LLVM8 9# GNU: Displaying notes found in: .note.gnu.property10# GNU-NEXT:   Owner                 Data size 	Description11# GNU-NEXT:   GNU                   0x{{([0-9a-z]{8})}}	NT_GNU_PROPERTY_TYPE_0 (property note)12# GNU-NEXT:     Properties:    RISC-V feature: ZICFILP-unlabeled, ZICFISS, ZICFILP-func-sig13 14# LLVM:      NoteSections [15# LLVM-NEXT:   NoteSection {16# LLVM-NEXT:     Name: .note.gnu.property17# LLVM-NEXT:     Offset:18# LLVM-NEXT:     Size:19# LLVM-NEXT:     Notes [20# LLVM-NEXT:       {21# LLVM-NEXT:         Owner: GNU22# LLVM-NEXT:         Data size:23# LLVM-NEXT:         Type: NT_GNU_PROPERTY_TYPE_0 (property note)24# LLVM-NEXT:         Property [25# LLVM-NEXT:           RISC-V feature: ZICFILP-unlabeled, ZICFISS, ZICFILP-func-sig26# LLVM-NEXT:         ]27# LLVM-NEXT:       }28# LLVM-NEXT:     ]29# LLVM-NEXT:   }30# LLVM-NEXT: ]31 32--- !ELF33FileHeader:34  Class:   ELFCLASS[[BITS]]35  Data:    ELFDATA2LSB36  Type:    ET_REL37  Machine: EM_RISCV38Sections:39  - Name:  .note.gnu.property40    Type:  SHT_NOTE41    Flags: [ SHF_ALLOC ]42    Notes:43      - Name: 'GNU'44        Desc: '000000c00400000007000000[[PR_PADDING]]'45        Type: 5 # NT_GNU_PROPERTY_TYPE_046