This patch renames PDB/calling-conventions.test to calling-conventions-x86.test. Also restrict it to run only for target-x86*. This patch also adds a arm specific test PDB/calling-conventions-arm.test which tests that x86 specifc calling convention decorators are ignored by Arm compiler. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D128678
12 lines
547 B
Plaintext
12 lines
547 B
Plaintext
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)();
|