Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / coff-exports.test
blobc0c977d9d4bb0933a09e72ce42ef52f34d63b1bd
1 RUN: llvm-readobj --coff-exports %p/Inputs/export-x86.dll | FileCheck %s -check-prefix CHECK -check-prefix CHECK-X86
2 RUN: llvm-readobj --coff-exports %p/Inputs/export-x64.dll | FileCheck %s -check-prefix CHECK -check-prefix CHECK-X64
3 RUN: llvm-readobj --coff-exports %p/Inputs/export-arm.dll | FileCheck %s -check-prefix CHECK -check-prefix CHECK-ARM
5 CHECK: Export {
6 CHECK:   Ordinal: 1
7 CHECK:   Name: function
8 CHECK-X86:   RVA: 0x1000
9 CHECK-X64:   RVA: 0x1000
10 CHECK-ARM:   RVA: 0x1001
11 CHECK: }