And actually check the arm32 output. Lucky for us, it does work. Separated the lines a bit too so they are easier to read. Follow up to https://github.com/llvm/llvm-project/pull/152580.
17 lines
779 B
Plaintext
17 lines
779 B
Plaintext
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)();
|