[Lldb-commits] [lldb] [lldb][test] Run calling-conventions-arm.test with native PDB reader as well (PR #152670)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 8 02:01:30 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: David Spickett (DavidSpickett)
<details>
<summary>Changes</summary>
And actually check the arm32 output. Lucky for us, it does work.
Separated the lines a bit too so they are easier to read.
---
Full diff: https://github.com/llvm/llvm-project/pull/152670.diff
1 Files Affected:
- (modified) lldb/test/Shell/SymbolFile/PDB/calling-conventions-arm.test (+5)
``````````diff
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)();
``````````
</details>
https://github.com/llvm/llvm-project/pull/152670
More information about the lldb-commits
mailing list