summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/SymbolFile/PDB/calling-conventions.test
blob: a85dc65ff04ddaedb7ddd912812b6c90ac1a5fe1 (plain)
1
2
3
4
5
6
7
8
9
10
REQUIRES: system-windows, lld
RUN: %build --compiler=clang-cl --arch=32 --nodefaultlib --output=%t.exe %S/Inputs/CallingConventionsTest.cpp
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));
OpenPOWER on IntegriCloud