xref: /llvm-project/llvm/test/Object/coff-data-dir-out-of-bounds.test (revision b209b9e11c265e52f5897b2e014aa6933eb26703)
1; Check an executable, where the baes relocation data directory points into
2; a section (within the range specified by VirtualSize), but outside of the
3; raw data provided in the executable. Make sure that we don't error out on
4; the executable - but we don't try to print any base relocs (as their data
5; is missing).
6
7RUN: yaml2obj %p/Inputs/COFF/data-dir-out-of-bounds.yaml | llvm-readobj --coff-basereloc - | FileCheck %s
8
9CHECK:      BaseReloc [
10CHECK-NEXT: ]
11