brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · ceb7ad1 Raw
24 lines · plain
1REQUIRES: system-windows, lld, (target-x86 || target-x86_64) 2 3RUN: %build --compiler=clang-cl --arch=32 --nodefaultlib --output=%t-32.exe %S/Inputs/CallingConventionsTest.cpp4RUN: lldb-test symbols -dump-ast %t-32.exe | FileCheck --check-prefix 32BIT-CHECK %s5RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -dump-ast %t-32.exe | FileCheck --check-prefix 32BIT-CHECK %s6 7RUN: %build --compiler=clang-cl --arch=64 --nodefaultlib --output=%t-64.exe %S/Inputs/CallingConventionsTest.cpp8RUN: lldb-test symbols -dump-ast %t-64.exe | FileCheck --check-prefix 64BIT-CHECK %s9RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -dump-ast %t-64.exe | FileCheck --check-prefix 64BIT-CHECK %s10 1164BIT-CHECK: Module: {{.*}}1264BIT-CHECK-DAG: int (*FuncCCallPtr)();1364BIT-CHECK-DAG: int (*FuncStdCallPtr)();1464BIT-CHECK-DAG: int (*FuncFastCallPtr)();1564BIT-CHECK-DAG: int (*FuncVectorCallPtr)() __attribute__((vectorcall));1664BIT-CHECK-DAG: int (S::*FuncThisCallPtr)();17 1832BIT-CHECK: Module: {{.*}}1932BIT-CHECK-DAG: int (*FuncCCallPtr)();2032BIT-CHECK-DAG: int (*FuncStdCallPtr)() __attribute__((stdcall));2132BIT-CHECK-DAG: int (*FuncFastCallPtr)() __attribute__((fastcall));2232BIT-CHECK-DAG: int (*FuncVectorCallPtr)() __attribute__((vectorcall));2332BIT-CHECK-DAG: int (S::*FuncThisCallPtr)() __attribute__((thiscall));24