1 RUN: llvm-readobj -S %p/Inputs/invalid-bad-section-address.coff 2>&1 | \
2 RUN: FileCheck --check-prefix=SECTIONS %s
5 SECTIONS-NEXT: Number: 1
6 SECTIONS-NEXT: Name: .text (2E 74 65 78 74 00 00 00)
7 SECTIONS-NEXT: VirtualSize: 0x0
8 SECTIONS-NEXT: VirtualAddress: 0x1000000
10 RUN: not llvm-readobj -r %p/Inputs/invalid-bad-section-address.coff 2>&1 | \
13 CHECK: Sections with relocations should have an address of 0