Mercurial > hg > CbC > CbC_llvm
view lld/test/COFF/thunk-replace.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 | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line source
# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-win32 %s -filetype=obj -o %t.main.obj # RUN: llvm-mc -triple=x86_64-win32 %p/Inputs/otherFunc.s -filetype=obj -o %t.other.obj # RUN: llvm-ar rcs %t.other.lib %t.other.obj # RUN: not lld-link -out:%t.exe -entry:main %t.main.obj %p/Inputs/std64.lib %t.other.lib -opt:noref 2>&1 | FileCheck %s # CHECK: MessageBoxA was replaced .global main .text main: callq MessageBoxA callq ExitProcess callq otherFunc ret