mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
520b1e8263
It printed out base relocation table header as table entry. This patch also makes llvm-readobj to not skip ABSOLUTE entries becuase it was confusing. llvm-svn: 222299
25 lines
608 B
Plaintext
25 lines
608 B
Plaintext
RUN: llvm-readobj -coff-basereloc %p/Inputs/basereloc.obj.coff-i386 | FileCheck %s
|
|
|
|
CHECK: Format: COFF-i386
|
|
CHECK-NEXT: Arch: i386
|
|
CHECK-NEXT: AddressSize: 32bit
|
|
CHECK-NEXT: BaseReloc [
|
|
CHECK-NEXT: Entry {
|
|
CHECK-NEXT: Type: HIGHLOW
|
|
CHECK-NEXT: Address: 0x1004
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: Entry {
|
|
CHECK-NEXT: Type: HIGHLOW
|
|
CHECK-NEXT: Address: 0x100A
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: Entry {
|
|
CHECK-NEXT: Type: HIGHLOW
|
|
CHECK-NEXT: Address: 0x1010
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: Entry {
|
|
CHECK-NEXT: Type: ABSOLUTE
|
|
CHECK-NEXT: Address: 0x1000
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: ]
|
|
|