bolt/deps/llvm-18.1.8/lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test
2025-02-14 19:21:04 +01:00

11 lines
547 B
Text

REQUIRES: system-windows, lld, (target-arm || target-aarch64)
RUN: %build --compiler=clang-cl --arch=32 --nodefaultlib --output=%t.exe %S/Inputs/CallingConventionsTest.cpp
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
CHECK: Module: {{.*}}
CHECK-DAG: int (*FuncCCallPtr)();
CHECK-DAG: int (*FuncStdCallPtr)();
CHECK-DAG: int (*FuncFastCallPtr)();
CHECK-DAG: int (*FuncVectorCallPtr)();
CHECK-DAG: int (S::*FuncThisCallPtr)();