• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc %s -filetype=obj -o - -triple i686-windows-msvc | llvm-nm - | FileCheck %s
2# RUN: llvm-mc %s -filetype=obj -o - -triple i686-windows-gnu | llvm-nm - | FileCheck %s
3
4# CHECK: T _mystdcall@8{{$}}
5# CHECK: T foo
6
7.text
8.global _mystdcall@8
9_mystdcall@8:
10	movl 4(%esp), %eax
11	addl 8(%esp), %eax
12	retl $8
13
14.global foo
15foo:
16	pushl $1
17	pushl $2
18	calll _mystdcall@8
19	retl
20