[Lldb-commits] [lldb] [lldb][test] Don't specify DWARF debug info in frame format test (PR #156318)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 1 05:07:05 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: David Spickett (DavidSpickett)
<details>
<summary>Changes</summary>
This test fails on Windows when using the native PDB plugin, but I'm surprised that it did not fail using the DIA plugin too. As it requests DWARF debug information that is likely discarded by link.exe.
By making it generate the default debug info, DWARF most places and PDB on Windows, this test passes with both PDB plugins on Windows.
(native PDB tracking issue is #<!-- -->114906)
---
Full diff: https://github.com/llvm/llvm-project/pull/156318.diff
1 Files Affected:
- (modified) lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test (+1-1)
``````````diff
diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test
index 2692c3d9c3e70..9ee5834d3b1bc 100644
--- a/lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test
+++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test
@@ -3,7 +3,7 @@
# format variable (in this case Objective-C).
#
# RUN: split-file %s %t
-# RUN: %clang_host -g -gdwarf %t/main.m -o %t.objc.out
+# RUN: %clang_host -g %t/main.m -o %t.objc.out
# RUN: %lldb -x -b -s %t/commands.input %t.objc.out -o exit 2>&1 \
# RUN: | FileCheck %s
``````````
</details>
https://github.com/llvm/llvm-project/pull/156318
More information about the lldb-commits
mailing list