[Lldb-commits] [lldb] [lldb][test] Don't specify DWARF debug info in frame format test (PR #156318)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 1 05:06:34 PDT 2025
https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/156318
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)
>From 955ab165a2cd8452916eaba4d957847b9446174a Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at linaro.org>
Date: Mon, 1 Sep 2025 12:01:16 +0000
Subject: [PATCH] [lldb][test] Don't specify DWARF debug info in frame format
test
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)
---
lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the lldb-commits
mailing list