brintos

brintos / llvm-project-archived public Read only

0
0
Text · 839 B · 5644e73 Raw
23 lines · plain
1## Check how we print relocations.2 3# RUN: llvm-readobj -r %p/Inputs/trivial.obj.coff-i386 \4# RUN:   | FileCheck %s --check-prefix COFF5# RUN: llvm-readobj -r %p/Inputs/bad-relocs.obj.coff-i386 \6# RUN:   | FileCheck %s --check-prefix BAD-COFF-RELOCS7# RUN: llvm-readobj -r %p/Inputs/relocs-no-symtab.obj.coff-i386 \8# RUN:   | FileCheck %s --check-prefix BAD-COFF-RELOCS9 10# COFF:      Relocations [11# COFF-NEXT:   Section (1) .text {12# COFF-NEXT:     0x4 IMAGE_REL_I386_DIR32 .data (4)13# COFF-NEXT:     0x9 IMAGE_REL_I386_REL32 _puts (7)14# COFF-NEXT:     0xE IMAGE_REL_I386_REL32 _SomeOtherFunction (8)15# COFF-NEXT:   }16# COFF-NEXT: ]17 18# BAD-COFF-RELOCS:      Relocations [19# BAD-COFF-RELOCS-NEXT:   Section (1) sec {20# BAD-COFF-RELOCS-NEXT:     0xDEADBEEF IMAGE_REL_I386_ABSOLUTE -21# BAD-COFF-RELOCS-NEXT:   }22# BAD-COFF-RELOCS-NEXT: ]23