1RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-readobj -file-headers -relocations -expand-relocs - | FileCheck %s --check-prefix COFF-I386 2 3// COFF-I386: Characteristics [ (0x200) 4// COFF-I386-NEXT: IMAGE_FILE_DEBUG_STRIPPED (0x200) 5// COFF-I386-NEXT: ] 6 7// COFF-I386: Relocations [ 8// COFF-I386-NEXT: Section (1) .text { 9// COFF-I386-NEXT: Relocation { 10// COFF-I386-NEXT: Offset: 0xE 11// COFF-I386-NEXT: Type: IMAGE_REL_I386_DIR32 (6) 12// COFF-I386-NEXT: Symbol: L_.str 13// COFF-I386-NEXT: } 14// COFF-I386-NEXT: Relocation { 15// COFF-I386-NEXT: Offset: 0x13 16// COFF-I386-NEXT: Type: IMAGE_REL_I386_REL32 (20) 17// COFF-I386-NEXT: Symbol: _puts 18// COFF-I386-NEXT: } 19// COFF-I386-NEXT: Relocation { 20// COFF-I386-NEXT: Offset: 0x18 21// COFF-I386-NEXT: Type: IMAGE_REL_I386_REL32 (20) 22// COFF-I386-NEXT: Symbol: _SomeOtherFunction 23// COFF-I386-NEXT: } 24// COFF-I386-NEXT: } 25// COFF-I386-NEXT: ] 26