1// RUN: llvm-objdump -p %p/Inputs/nop.exe.coff-i386 | \
2// RUN:   FileCheck -check-prefix=IMPORT %s
3
4IMPORT:      The Import Tables:
5IMPORT:        lookup 000021e4 time 00000000 fwd 00000000 name 0000234a addr 00002024
6IMPORT:          DLL Name: MSVCR110.dll
7IMPORT-NEXT:     Hint/Ord  Name
8IMPORT-NEXT:          767  _initterm_e
9IMPORT-NEXT:          766  _initterm
10IMPORT-NEXT:          437  __initenv
11IMPORT-NEXT:          660  _fmode
12IMPORT-NEXT:          571  _commode
13IMPORT-NEXT:          315  ?terminate@@YAXXZ
14IMPORT-NEXT:          424  __crtSetUnhandledExceptionFilter
15IMPORT-NEXT:          892  _lock
16IMPORT-NEXT:         1254  _unlock
17IMPORT-NEXT:          498  __setusermatherr
18IMPORT-NEXT:          428  __dllonexit
19IMPORT-NEXT:         1058  _onexit
20IMPORT-NEXT:          774  _invoke_watson
21IMPORT-NEXT:          575  _controlfp_s
22IMPORT-NEXT:          624  _except_handler4_common
23IMPORT-NEXT:          587  _crt_debugger_hook
24IMPORT-NEXT:          426  __crtUnhandledException
25IMPORT-NEXT:          425  __crtTerminateProcess
26IMPORT-NEXT:          572  _configthreadlocale
27IMPORT-NEXT:          556  _cexit
28IMPORT-NEXT:          633  _exit
29IMPORT-NEXT:         1484  exit
30IMPORT-NEXT:          496  __set_app_type
31IMPORT-NEXT:          436  __getmainargs
32IMPORT-NEXT:          533  _amsg_exit
33IMPORT-NEXT:          555  _calloc_crt
34IMPORT-NEXT:          367  _XcptFilter
35
36// RUN: llvm-objdump -p %p/Inputs/export.dll.coff-i386 | \
37// RUN:   FileCheck -check-prefix=EXPORT %s
38
39EXPORT:      Export Table:
40EXPORT-NEXT:  DLL name: export.test.tmp3.dll
41EXPORT-NEXT:  Ordinal base: 5
42EXPORT-NEXT:  Ordinal      RVA  Name
43EXPORT-NEXT:        5   0x2008
44EXPORT-NEXT:        6   0x2010  exportfn2
45
46// RUN: llvm-objdump -p %p/Inputs/nop.exe.coff-i386 | \
47// RUN:   FileCheck -check-prefix=LOADCFG %s
48
49LOADCFG:      Load configuration:
50LOADCFG-NEXT:   Timestamp: 0
51LOADCFG-NEXT:   Major Version: 0
52LOADCFG-NEXT:   Minor Version: 0
53LOADCFG-NEXT:   GlobalFlags Clear: 0
54LOADCFG-NEXT:   GlobalFlags Set: 0
55LOADCFG-NEXT:   Critical Section Default Timeout: 0
56LOADCFG-NEXT:   Decommit Free Block Threshold: 0
57LOADCFG-NEXT:   Decommit Total Free Threshold: 0
58LOADCFG-NEXT:   Lock Prefix Table: 0
59LOADCFG-NEXT:   Maximum Allocation Size: 0
60LOADCFG-NEXT:   Virtual Memory Threshold: 0
61LOADCFG-NEXT:   Process Affinity Mask: 0
62LOADCFG-NEXT:   Process Heap Flags: 0
63LOADCFG-NEXT:   CSD Version: 0
64LOADCFG-NEXT:   Security Cookie: 4206616
65LOADCFG-NEXT:   SEH Table: 4202768
66LOADCFG-NEXT:   SEH Count: 1
67LOADCFG:      SEH Table: 0x401689
68