blob: 3031f5ed31bc37ea2b7fdef57529abd92fd27992 [file] [log] [blame]
Rafael Espindola120cf572013-04-23 15:53:02 +00001RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-readobj -file-headers -relocations -expand-relocs - | FileCheck %s --check-prefix COFF-I386
Rafael Espindola5152e4f2013-04-04 20:30:52 +00002
3// COFF-I386: Characteristics [ (0x200)
4// COFF-I386-NEXT: IMAGE_FILE_DEBUG_STRIPPED (0x200)
5// COFF-I386-NEXT: ]
Rafael Espindola120cf572013-04-23 15:53:02 +00006
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: ]