2014-10-02 17:02:18 +00:00
|
|
|
RUN: llvm-readobj --coff-imports %p/Inputs/imports.exe.coff-i386 | FileCheck -check-prefix=X86 %s
|
|
|
|
RUN: llvm-readobj --coff-imports %p/Inputs/imports.exe.coff-x86-64 | FileCheck -check-prefix=X64 %s
|
|
|
|
|
|
|
|
X86: Import {
|
|
|
|
X86-NEXT: Name: KERNEL32.dll
|
|
|
|
X86-NEXT: ImportLookupTableRVA: 0x204C
|
|
|
|
X86-NEXT: ImportAddressTableRVA: 0x2000
|
2014-10-02 22:05:29 +00:00
|
|
|
X86-NEXT: Symbol: ExitProcess (337)
|
2014-10-02 17:02:18 +00:00
|
|
|
X86-NEXT: }
|
|
|
|
X86-NEXT: Import {
|
|
|
|
X86-NEXT: Name: USER32.dll
|
|
|
|
X86-NEXT: ImportLookupTableRVA: 0x2054
|
|
|
|
X86-NEXT: ImportAddressTableRVA: 0x2008
|
2014-10-02 22:05:29 +00:00
|
|
|
X86-NEXT: Symbol: MessageBoxA (582)
|
2014-10-02 17:02:18 +00:00
|
|
|
X86-NEXT: }
|
|
|
|
|
|
|
|
X64: Import {
|
|
|
|
X64-NEXT: Name: KERNEL32.dll
|
|
|
|
X64-NEXT: ImportLookupTableRVA: 0x2060
|
|
|
|
X64-NEXT: ImportAddressTableRVA: 0x2000
|
2014-10-02 22:05:29 +00:00
|
|
|
X64-NEXT: Symbol: ExitProcess (343)
|
2014-10-02 17:02:18 +00:00
|
|
|
X64-NEXT: }
|
|
|
|
X64-NEXT: Import {
|
|
|
|
X64-NEXT: Name: USER32.dll
|
|
|
|
X64-NEXT: ImportLookupTableRVA: 0x2070
|
|
|
|
X64-NEXT: ImportAddressTableRVA: 0x2010
|
2014-10-02 22:05:29 +00:00
|
|
|
X64-NEXT: Symbol: MessageBoxA (586)
|
2014-10-02 17:02:18 +00:00
|
|
|
X64-NEXT: }
|