blob: 8b0b5b665274d019c0d3e43b3346468cb047355f [file] [log] [blame] [edit]
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)();