[Lldb-commits] [lldb] [lldb][test] Run calling-conventions-arm.test with native PDB reader as well (PR #152670)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 8 02:00:58 PDT 2025


https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/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.

>From bb4390f92f41dea726e0114901ea749ee28ef43d Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at linaro.org>
Date: Fri, 8 Aug 2025 08:58:44 +0000
Subject: [PATCH] [lldb][test] Run calling-conventions-arm.test with native PDB
 reader also

Also, actually check the arm32 output. Lucky for us, it does work.

Separated the lines a bit too so they are easier to read.
---
 lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test | 5 +++++
 1 file changed, 5 insertions(+)

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