llvm-for-llvmta/test/tools/llvm-objdump/COFF/many-relocs.test

16 lines
632 B
Plaintext

// Test that llvm-objdump can handle IMAGE_SCN_LNK_NRELOC_OVFL.
// RUN: llvm-objdump -r %p/Inputs/many-relocs.obj-i386 | FileCheck %s
CHECK: RELOCATION RECORDS FOR [.text]:
CHECK-NEXT: TYPE VALUE
CHECK-NEXT: IMAGE_REL_I386_DIR16 foo
CHECK-NEXT: IMAGE_REL_I386_REL16 foo
CHECK-NEXT: IMAGE_REL_I386_DIR32 foo
CHECK-NEXT: IMAGE_REL_I386_DIR32NB foo
CHECK-NEXT: IMAGE_REL_I386_SEG12 foo
CHECK-NEXT: IMAGE_REL_I386_SECTION foo
CHECK-NEXT: IMAGE_REL_I386_SECREL foo
CHECK-NEXT: IMAGE_REL_I386_TOKEN foo
CHECK-NEXT: IMAGE_REL_I386_SECREL7 foo
CHECK-NEXT: IMAGE_REL_I386_REL32 foo