Mercurial > hg > CbC > CbC_llvm
view lld/test/COFF/imports-ordinal-only.s @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:01:34 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line source
# REQUIRES: x86 # # RUN: lld-link -machine:x86 -def:%p/Inputs/ordinal-only-implib.def -implib:%t-implib.a # RUN: llvm-mc -triple=i386-pc-win32 %s -filetype=obj -o %t.obj # RUN: lld-link -out:%t.exe -entry:main -subsystem:console -safeseh:no -debug %t.obj %t-implib.a # RUN: llvm-objdump --private-headers %t.exe | FileCheck --match-full-lines %s .text .global _main _main: call _ByOrdinalFunction ret # CHECK: The Import Tables: # CHECK: DLL Name: test.dll # CHECK-NEXT: Hint/Ord Name # CHECK-NEXT: 1 # CHECK-EMPTY: