22 lines · plain
1# RUN: yaml2obj --docnum=1 %s -o %t1.so2# RUN: llvm-readelf --notes %t1.so 2>&1 | FileCheck %s -DFILE=%t1.so3# RUN: llvm-readobj --notes %t1.so 2>&1 | FileCheck %s -DFILE=%t1.so4 5# CHECK: warning: '[[FILE]]': unable to read notes from the SHT_NOTE section with index 1: alignment (6) is not 4 or 86 7--- !ELF8FileHeader:9 Class: ELFCLASS6410 Data: ELFDATA2LSB11 Type: ET_EXEC12Sections:13 - Name: .note.invalid14 Type: SHT_NOTE15 AddressAlign: 0x000000000000000616 Content: 0400000004000000cdab0000474E55006162636417ProgramHeaders:18 - Type: PT_NOTE19 FileSize: 0x2020 FirstSec: .note.invalid21 LastSec: .note.invalid22