Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / coff-load-config.test
blobb65c83b8ace5c26c16079b30d6f3982c68d7cbfe
1 RUN: llvm-readobj --coff-load-config %S/Inputs/coff-load-config-x86.dll | FileCheck %s --check-prefix=X86
2 RUN: llvm-readobj --coff-load-config %S/Inputs/coff-load-config-x64.dll | FileCheck %s --check-prefix=X64
4 RUN: llvm-readobj --coff-load-config %S/Inputs/coff-load-config-data-end.exe | FileCheck %s --check-prefix=DATAEND
6 RUN: llvm-readobj --coff-load-config %S/Inputs/coff-no-load-config.exe | FileCheck %s --check-prefix=NOCONFIG
8 X86: LoadConfig [
9 X86:   Size: 0x5C
10 X86:   TimeDateStamp: 1970-01-01 00:00:00 (0x0)
11 X86:   MajorVersion: 0x0
12 X86:   MinorVersion: 0x0
13 X86:   GlobalFlagsClear: 0x0
14 X86:   GlobalFlagsSet: 0x0
15 X86:   CriticalSectionDefaultTimeout: 0x0
16 X86:   DeCommitFreeBlockThreshold: 0x0
17 X86:   DeCommitTotalFreeThreshold: 0x0
18 X86:   LockPrefixTable: 0x0
19 X86:   MaximumAllocationSize: 0x0
20 X86:   VirtualMemoryThreshold: 0x0
21 X86:   ProcessHeapFlags: 0x0
22 X86:   ProcessAffinityMask: 0x0
23 X86:   CSDVersion: 0x0
24 X86:   DependentLoadFlags: 0x0
25 X86:   EditList: 0x0
26 X86:   SecurityCookie: 0x10003004
27 X86:   SEHandlerTable: 0x100021C0
28 X86:   SEHandlerCount: 2
29 X86:   GuardCFCheckFunction: 0x1000207C
30 X86:   GuardCFCheckDispatch: 0x0
31 X86:   GuardCFFunctionTable: 0x100020A4
32 X86:   GuardCFFunctionCount: 11
33 X86:   GuardFlags: 0x13500
34 X86: ]
35 X86: SEHTable [
36 X86:   0x10001BE0
37 X86:   0x10001E30
38 X86: ]
39 X86: GuardFidTable [
40 X86:   0x10001000
41 X86:   0x10001040
42 X86:   0x10001060
43 X86:   0x10001100
44 X86:   0x10001120
45 X86:   0x10001150
46 X86:   0x10001460
47 X86:   0x100019B0
48 X86:   0x10001B40
49 X86:   0x10001BE0
50 X86:   0x10001DC0
51 X86: ]
53 X64: LoadConfig [
54 X64:   Size: 0x94
55 X64:   TimeDateStamp: 1970-01-01 00:00:00 (0x0)
56 X64:   MajorVersion: 0x0
57 X64:   MinorVersion: 0x0
58 X64:   GlobalFlagsClear: 0x0
59 X64:   GlobalFlagsSet: 0x0
60 X64:   CriticalSectionDefaultTimeout: 0x0
61 X64:   DeCommitFreeBlockThreshold: 0x0
62 X64:   DeCommitTotalFreeThreshold: 0x0
63 X64:   LockPrefixTable: 0x0
64 X64:   MaximumAllocationSize: 0x0
65 X64:   VirtualMemoryThreshold: 0x0
66 X64:   ProcessHeapFlags: 0x0
67 X64:   ProcessAffinityMask: 0x0
68 X64:   CSDVersion: 0x0
69 X64:   DependentLoadFlags: 0x0
70 X64:   EditList: 0x0
71 X64:   SecurityCookie: 0x180003018
72 X64:   SEHandlerTable: 0
73 X64:   SEHandlerCount: 0
74 X64:   GuardCFCheckFunction: 0x180002100
75 X64:   GuardCFCheckDispatch: 0x180002108
76 X64:   GuardCFFunctionTable: 0x180002158
77 X64:   GuardCFFunctionCount: 9
78 X64:   GuardFlags: 0x13500
79 X64: ]
80 X64-NOT: SEHTable
81 X64: GuardFidTable [
82 X64:   0x180001000
83 X64:   0x180001050
84 X64:   0x180001070
85 X64:   0x1800010E0
86 X64:   0x180001110
87 X64:   0x180001460
88 X64:   0x180001970
89 X64:   0x180001B50
90 X64:   0x180001D90
91 X64: ]
93 DATAEND: SEHTable [
94 DATAEND-NEXT:   0x402006
95 DATAEND-NEXT: ]
97 NOCONFIG: Format: COFF-x86-64
98 NOCONFIG-NOT: LoadConfig