1 ## Check that we error out when trying to patch up debug directories that
2 ## point to data outside of the runtime mapped sections (as we don't try to
3 ## locate and copy such payloads from the padding areas of the input file).
5 # RUN: yaml2obj %s -o %t.in.exe
7 # RUN: not llvm-objcopy --remove-section .rdata %t.in.exe %t.out.exe 2>&1 | FileCheck %s
9 # CHECK: error: '{{.*}}{{/|\\}}debug-dir-unmapped.test.tmp.out.exe': debug directory payload not found
13 AddressOfEntryPoint: 4096
15 SectionAlignment: 4096
17 MajorOperatingSystemVersion: 6
18 MinorOperatingSystemVersion: 0
21 MajorSubsystemVersion: 6
22 MinorSubsystemVersion: 0
23 Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI
24 DLLCharacteristics: [ ]
25 SizeOfStackReserve: 1048576
26 SizeOfStackCommit: 4096
27 SizeOfHeapReserve: 1048576
28 SizeOfHeapCommit: 4096
30 RelativeVirtualAddress: 12288
33 Machine: IMAGE_FILE_MACHINE_AMD64
40 SectionData: C3909090909090909090909090909090
45 SectionData: FFFFFFFF00000000FFFFFFFF00000000
50 SectionData: 0000000042EE405C00000000020000001900000000000000E4070000