[Lldb-commits] [lldb] 24ea155 - [lldb][test] Run calling-conventions-arm.test with native PDB reader as well (#152670)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 8 02:56:35 PDT 2025
Author: David Spickett
Date: 2025-08-08T10:56:31+01:00
New Revision: 24ea1559d3d0005aefbca2c7a9fad164a8a33632
URL: https://github.com/llvm/llvm-project/commit/24ea1559d3d0005aefbca2c7a9fad164a8a33632
DIFF: https://github.com/llvm/llvm-project/commit/24ea1559d3d0005aefbca2c7a9fad164a8a33632.diff
LOG: [lldb][test] Run calling-conventions-arm.test with native PDB reader as well (#152670)
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.
Added:
Modified:
lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test
Removed:
################################################################################
diff --git a/lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test b/lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test
index 7dabf9157d47e..8b0b5b665274d 100644
--- a/lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test
+++ b/lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test
@@ -1,7 +1,12 @@
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)();
More information about the lldb-commits
mailing list