brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.0 KiB · ed074f4 Raw
63 lines · plain
1# RUN: lld-link /out:%t.exe /entry:main /subsystem:console \2# RUN:   %p/Inputs/hello64.obj %p/Inputs/std64.lib /delayload:STD64.DLL \3# RUN:   /alternatename:__delayLoadHelper2=main4# RUN: llvm-readobj --coff-imports %t.exe | FileCheck -check-prefix=IMPORT %s5# RUN: llvm-readobj --coff-basereloc %t.exe | FileCheck -check-prefix=BASEREL %s6# RUN: llvm-readobj --unwind %t.exe | FileCheck -check-prefix=UNWIND %s7 8IMPORT:      DelayImport {9IMPORT-NEXT:   Name: std64.dll10IMPORT-NEXT:   Attributes: 0x111IMPORT-NEXT:   ModuleHandle: 0x301812IMPORT-NEXT:   ImportAddressTable: 0x302013IMPORT-NEXT:   ImportNameTable: 0x204814IMPORT-NEXT:   BoundDelayImportTable: 0x015IMPORT-NEXT:   UnloadDelayImportTable: 0x016IMPORT-NEXT:   Import {17IMPORT-NEXT:     Symbol: ExitProcess (0)18IMPORT-NEXT:     Address: 0x14000106619IMPORT-NEXT:   }20IMPORT-NEXT:   Import {21IMPORT-NEXT:     Symbol:  (50)22IMPORT-NEXT:     Address: 0x14000107223IMPORT-NEXT:   }24IMPORT-NEXT:   Import {25IMPORT-NEXT:     Symbol: MessageBoxA (0)26IMPORT-NEXT:     Address: 0x14000107E27IMPORT-NEXT:   }28IMPORT-NEXT: }29 30BASEREL:      BaseReloc [31BASEREL-NEXT:   Entry {32BASEREL-NEXT:     Type: DIR6433BASEREL-NEXT:     Address: 0x302034BASEREL-NEXT:   }35BASEREL-NEXT:   Entry {36BASEREL-NEXT:     Type: DIR6437BASEREL-NEXT:     Address: 0x302838BASEREL-NEXT:   }39BASEREL-NEXT:   Entry {40BASEREL-NEXT:     Type: DIR6441BASEREL-NEXT:     Address: 0x303042BASEREL-NEXT:   }43 44UNWIND:      UnwindInformation [45UNWIND-NEXT:   RuntimeFunction {46UNWIND-NEXT:     StartAddress: (0x14000108A)47UNWIND-NEXT:     EndAddress: (0x140001101)48UNWIND-NEXT:     UnwindInfoAddress: (0x140002000)49UNWIND-NEXT:     UnwindInfo {50UNWIND-NEXT:       Version: 151UNWIND-NEXT:       Flags [ (0x0)52UNWIND-NEXT:       ]53UNWIND-NEXT:       PrologSize: 2454UNWIND-NEXT:       FrameRegister: -55UNWIND-NEXT:       FrameOffset: -56UNWIND-NEXT:       UnwindCodeCount: 157UNWIND-NEXT:       UnwindCodes [58UNWIND-NEXT:         0x18: ALLOC_SMALL size=10459UNWIND-NEXT:       ]60UNWIND-NEXT:     }61UNWIND-NEXT:   }62UNWIND-NEXT: ]63