summaryrefslogtreecommitdiff
path: root/test/tools/llvm-readobj
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-11-13 03:22:54 +0000
committerRui Ueyama <ruiu@google.com>2014-11-13 03:22:54 +0000
commit08f70b58cb46e83ee357c3bd6274eda9e9e8060d (patch)
treeb9096e3531fd6cf9e44fb37bc630681b9c2508fe /test/tools/llvm-readobj
parent7880ed5d2179d6ce3aefcc124936a2e968ac82e3 (diff)
llvm-readobj: Print out address table when dumping COFF delay-import table
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/llvm-readobj')
-rw-r--r--test/tools/llvm-readobj/imports.test20
1 files changed, 16 insertions, 4 deletions
diff --git a/test/tools/llvm-readobj/imports.test b/test/tools/llvm-readobj/imports.test
index 82b7dc711c8..58512f42adc 100644
--- a/test/tools/llvm-readobj/imports.test
+++ b/test/tools/llvm-readobj/imports.test
@@ -34,8 +34,14 @@ X86-NEXT: ImportAddressTable: 0x3010
X86-NEXT: ImportNameTable: 0x2090
X86-NEXT: BoundDelayImportTable: 0x20AC
X86-NEXT: UnloadDelayImportTable: 0x0
-X86-NEXT: Symbol: Func5 (0)
-X86-NEXT: Symbol: Func4 (0)
+X86-NEXT: Import {
+X86-NEXT: Symbol: Func5 (0)
+X86-NEXT: Address: 0x401073
+X86-NEXT: }
+X86-NEXT: Import {
+X86-NEXT: Symbol: Func4 (0)
+X86-NEXT: Address: 0x401052
+X86-NEXT: }
X86-NEXT: }
X64: Import {
@@ -71,6 +77,12 @@ X64-NEXT: ImportAddressTable: 0x3010
X64-NEXT: ImportNameTable: 0x20E0
X64-NEXT: BoundDelayImportTable: 0x2108
X64-NEXT: UnloadDelayImportTable: 0x0
-X64-NEXT: Symbol: Func5 (0)
-X64-NEXT: Symbol: Func4 (0)
+X64-NEXT: Import {
+X64-NEXT: Symbol: Func5 (0)
+X64-NEXT: Address: 0x1400010F1
+X64-NEXT: }
+X64-NEXT: Import {
+X64-NEXT: Symbol: Func4 (0)
+X64-NEXT: Address: 0x140001066
+X64-NEXT: }
X64-NEXT: }