| 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=0 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=0 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)(); |