File: delayimports.test

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (66 lines) | stat: -rw-r--r-- 2,213 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# RUN: lld-link /out:%t.exe /entry:main /subsystem:console \
# RUN:   %p/Inputs/hello64.obj %p/Inputs/std64.lib /delayload:STD64.DLL \
# RUN:   /alternatename:__delayLoadHelper2=main
# RUN: llvm-readobj --coff-imports %t.exe | FileCheck -check-prefix=IMPORT %s
# RUN: llvm-readobj --coff-basereloc %t.exe | FileCheck -check-prefix=BASEREL %s
# RUN: llvm-readobj --unwind %t.exe | FileCheck -check-prefix=UNWIND %s

IMPORT:      DelayImport {
IMPORT-NEXT:   Name: std64.dll
IMPORT-NEXT:   Attributes: 0x1
IMPORT-NEXT:   ModuleHandle: 0x3018
IMPORT-NEXT:   ImportAddressTable: 0x3020
IMPORT-NEXT:   ImportNameTable: 0x2050
IMPORT-NEXT:   BoundDelayImportTable: 0x0
IMPORT-NEXT:   UnloadDelayImportTable: 0x0
IMPORT-NEXT:   Import {
IMPORT-NEXT:     Symbol: ExitProcess (0)
IMPORT-NEXT:     Address: 0x140001066
IMPORT-NEXT:   }
IMPORT-NEXT:   Import {
IMPORT-NEXT:     Symbol:  (50)
IMPORT-NEXT:     Address: 0x140001072
IMPORT-NEXT:   }
IMPORT-NEXT:   Import {
IMPORT-NEXT:     Symbol: MessageBoxA (0)
IMPORT-NEXT:     Address: 0x14000107E
IMPORT-NEXT:   }
IMPORT-NEXT: }

BASEREL:      BaseReloc [
BASEREL-NEXT:   Entry {
BASEREL-NEXT:     Type: DIR64
BASEREL-NEXT:     Address: 0x3020
BASEREL-NEXT:   }
BASEREL-NEXT:   Entry {
BASEREL-NEXT:     Type: DIR64
BASEREL-NEXT:     Address: 0x3028
BASEREL-NEXT:   }
BASEREL-NEXT:   Entry {
BASEREL-NEXT:     Type: DIR64
BASEREL-NEXT:     Address: 0x3030
BASEREL-NEXT:   }

UNWIND:      UnwindInformation [
UNWIND-NEXT:   RuntimeFunction {
UNWIND-NEXT:     StartAddress: (0x14000108A)
UNWIND-NEXT:     EndAddress: (0x1400010DD)
UNWIND-NEXT:     UnwindInfoAddress: (0x140002000)
UNWIND-NEXT:     UnwindInfo {
UNWIND-NEXT:       Version: 1
UNWIND-NEXT:       Flags [ (0x0)
UNWIND-NEXT:       ]
UNWIND-NEXT:       PrologSize: 10
UNWIND-NEXT:       FrameRegister: -
UNWIND-NEXT:       FrameOffset: -
UNWIND-NEXT:       UnwindCodeCount: 5
UNWIND-NEXT:       UnwindCodes [
UNWIND-NEXT:         0x0A: ALLOC_SMALL size=72
UNWIND-NEXT:         0x06: ALLOC_SMALL size=8
UNWIND-NEXT:         0x04: ALLOC_SMALL size=8
UNWIND-NEXT:         0x02: ALLOC_SMALL size=8
UNWIND-NEXT:         0x01: ALLOC_SMALL size=8
UNWIND-NEXT:       ]
UNWIND-NEXT:     }
UNWIND-NEXT:   }
UNWIND-NEXT: ]