40 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-readelf --notes %t | FileCheck %s --check-prefixes=GNU3# RUN: llvm-readobj --notes %t | FileCheck %s --check-prefixes=LLVM4 5# GNU: Displaying notes found in: .note.android.unknown6# GNU-NEXT: Owner Data size Description7# GNU-NEXT: Android 0x00000005 Unknown note type: (0x00001337)8# GNU-NEXT: description data: 01 23 45 67 899 10# LLVM: NoteSections [11# LLVM-NEXT: NoteSection {12# LLVM-NEXT: Name: .note.android.unknown13# LLVM-NEXT: Offset: 0x4014# LLVM-NEXT: Size: 0x1C15# LLVM-NEXT: Notes [16# LLVM-NEXT: {17# LLVM-NEXT: Owner: Android18# LLVM-NEXT: Data size: 0x519# LLVM-NEXT: Type: Unknown (0x00001337)20# LLVM-NEXT: Description data (21# LLVM-NEXT: 0000: 01234567 8922# LLVM-NEXT: )23# LLVM-NEXT: }24# LLVM-NEXT: ]25# LLVM-NEXT: }26# LLVM-NEXT: ]27 28--- !ELF29FileHeader:30 Class: ELFCLASS6431 Data: ELFDATA2LSB32 Type: ET_DYN33Sections:34 - Name: .note.android.unknown35 Type: SHT_NOTE36 Notes:37 - Name: Android38 Type: 0x133739 Desc: 012345678940