mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
99beb5a73c
As per the PE COFF spec (section 8.3, Import Name Type) Offset: 18 Size 2 bits Name: Type Offset: 20 Size 3 bits Name: Name Type Offset: 20 added based on 18+2 Partially commited as rL279069 Differential Revision: https://reviews.llvm.org/D23540 llvm-svn: 283055
27 lines
599 B
Plaintext
27 lines
599 B
Plaintext
RUN: llvm-readobj -coff-exports %p/Inputs/library.lib | FileCheck %s
|
|
|
|
CHECK: File: library.dll
|
|
CHECK: Format: COFF-import-file
|
|
CHECK: Type: const
|
|
CHECK: Name type: undecorate
|
|
CHECK: Symbol: __imp__constant
|
|
|
|
CHECK: File: library.dll
|
|
CHECK: Format: COFF-import-file
|
|
CHECK: Type: data
|
|
CHECK: Name type: noprefix
|
|
CHECK: Symbol: __imp__data
|
|
|
|
CHECK: File: library.dll
|
|
CHECK: Format: COFF-import-file
|
|
CHECK: Type: code
|
|
CHECK: Name type: name
|
|
CHECK: Symbol: __imp__function
|
|
|
|
CHECK: File: library.dll
|
|
CHECK: Format: COFF-import-file
|
|
CHECK: Type: code
|
|
CHECK: Name type: ordinal
|
|
CHECK: Symbol: __imp__ordinal
|
|
|