• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-readobj -S %p/Inputs/invalid-bad-section-address.coff 2>&1 | \
2RUN: FileCheck --check-prefix=SECTIONS %s
3
4SECTIONS:      Section {
5SECTIONS-NEXT:   Number: 1
6SECTIONS-NEXT:   Name: .text (2E 74 65 78 74 00 00 00)
7SECTIONS-NEXT:   VirtualSize: 0x0
8SECTIONS-NEXT:   VirtualAddress: 0x1000000
9
10RUN: not --crash llvm-readobj -r %p/Inputs/invalid-bad-section-address.coff 2>&1 | \
11RUN: FileCheck %s
12
13CHECK: Sections with relocations should have an address of 0
14