1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-readelf --notes %t | FileCheck %s --check-prefix=GNU
3 # RUN: llvm-readobj --elf-output-style LLVM --notes %t | FileCheck %s --check-prefix=LLVM
5 # GNU: Owner Data size Description
6 # GNU-NEXT: GNU 0x00000004 NT_GNU_ABI_TAG (ABI version tag)
7 # GNU-NEXT: <corrupt GNU_ABI_TAG>
10 # LLVM-NEXT: NoteSection {
12 # LLVM-NEXT: Size: 0x14
14 # LLVM-NEXT: Owner: GNU
15 # LLVM-NEXT: Data size: 0x4
16 # LLVM-NEXT: Type: NT_GNU_ABI_TAG (ABI version tag)
17 # LLVM-NEXT: ABI: <corrupt GNU_ABI_TAG>
31 AddressAlign: 0x0000000000000004
32 Content: 040000000400000001000000474E550000000000