bolt/deps/llvm-18.1.8/llvm/test/Object/coff-data-dir-out-of-bounds.test
2025-02-14 19:21:04 +01:00

10 lines
465 B
Text

; 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: ]