Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-objdump / coff-many-relocs.test
blobd6d0d608b3b99dd7ec7b7c4f2f8796aab0c7022a
1 // Test that llvm-objdump can handle IMAGE_SCN_LNK_NRELOC_OVFL.
2 // RUN: llvm-objdump -r %p/Inputs/many-relocs.obj-i386 | FileCheck %s
4 CHECK:      RELOCATION RECORDS FOR [.text]:
5 CHECK-NEXT: IMAGE_REL_I386_DIR16 foo
6 CHECK-NEXT: IMAGE_REL_I386_REL16 foo
7 CHECK-NEXT: IMAGE_REL_I386_DIR32 foo
8 CHECK-NEXT: IMAGE_REL_I386_DIR32NB foo
9 CHECK-NEXT: IMAGE_REL_I386_SEG12 foo
10 CHECK-NEXT: IMAGE_REL_I386_SECTION foo
11 CHECK-NEXT: IMAGE_REL_I386_SECREL foo
12 CHECK-NEXT: IMAGE_REL_I386_TOKEN foo
13 CHECK-NEXT: IMAGE_REL_I386_SECREL7 foo
14 CHECK-NEXT: IMAGE_REL_I386_REL32 foo