aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test
blob: 8b0b5b665274d019c0d3e43b3346468cb047355f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
REQUIRES: target-windows, lld, (target-arm || target-aarch64)

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
RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -dump-ast %t.exe | FileCheck %s

RUN: %build --compiler=clang-cl --arch=64 --nodefaultlib --output=%t.exe %S/Inputs/CallingConventionsTest.cpp
RUN: lldb-test symbols -dump-ast %t.exe | FileCheck %s
RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -dump-ast %t.exe | FileCheck %s

CHECK: Module: {{.*}}
CHECK-DAG: int (*FuncCCallPtr)();
CHECK-DAG: int (*FuncStdCallPtr)();
CHECK-DAG: int (*FuncFastCallPtr)();
CHECK-DAG: int (*FuncVectorCallPtr)();
CHECK-DAG: int (S::*FuncThisCallPtr)();