blob: 6ad151db44e73bff10d48da6d42c69595a9eea34 [file] [log] [blame]
; Check an executable, where the baes relocation data directory points into
; a section (within the range specified by VirtualSize), but outside of the
; raw data provided in the executable. Make sure that we don't error out on
; the executable - but we don't try to print any base relocs (as their data
; is missing).
RUN: yaml2obj %p/Inputs/COFF/data-dir-out-of-bounds.yaml | llvm-readobj --coff-basereloc - | FileCheck %s
CHECK: BaseReloc [
CHECK-NEXT: ]