blob: cc1474945e10dce0c80a66c58504b54ed7fd515b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
REQUIRES: windows, lld
RUN: clang-cl -m32 /Zi /GS- /c %S/Inputs/CallingConventionsTest.cpp /o %t.obj
RUN: lld-link /debug:full /nodefaultlib /entry:main %t.obj /out:%t.exe
RUN: lldb-test symbols -dump-ast %t.exe | FileCheck %s
CHECK: Module: {{.*}}
CHECK-DAG: int (*FuncCCallPtr)();
CHECK-DAG: int (*FuncStdCallPtr)() __attribute__((stdcall));
CHECK-DAG: int (*FuncFastCallPtr)() __attribute__((fastcall));
CHECK-DAG: int (*FuncVectorCallPtr)() __attribute__((vectorcall));
CHECK-DAG: int (S::*FuncThisCallPtr)() __attribute__((thiscall));
|