Author: Michael Buch Date: 2025-04-26T11:28:32+01:00 New Revision: 7581aa1d8e66453845aae584aeda99b3f5fc9646
URL: https://github.com/llvm/llvm-project/commit/7581aa1d8e66453845aae584aeda99b3f5fc9646 DIFF: https://github.com/llvm/llvm-project/commit/7581aa1d8e66453845aae584aeda99b3f5fc9646.diff LOG: [lldb][test] Make sure we compile FrameFormat tests with DWARF These don't make sense for PDB on Windows Added: Modified: lldb/test/Shell/Settings/TestCxxFrameFormat.test lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test lldb/test/Shell/Settings/TestFrameFormatFunctionBasenameObjC.test lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArgumentsObjC.test lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiersObjC.test lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test lldb/test/Shell/Settings/TestFrameFormatFunctionScopeObjC.test lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArgumentsObjC.test Removed: ################################################################################ diff --git a/lldb/test/Shell/Settings/TestCxxFrameFormat.test b/lldb/test/Shell/Settings/TestCxxFrameFormat.test index babb14bed4440..3751dfa737eae 100644 --- a/lldb/test/Shell/Settings/TestCxxFrameFormat.test +++ b/lldb/test/Shell/Settings/TestCxxFrameFormat.test @@ -3,7 +3,7 @@ # Test the plugin.cplusplus.display.function-name-format setting. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out # RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \ # RUN: | FileCheck %s diff --git a/lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test b/lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test index 0ae48d4eb541e..249c25bab0f47 100644 --- a/lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test +++ b/lldb/test/Shell/Settings/TestCxxFrameFormatPartialFailure.test @@ -3,7 +3,7 @@ # were successful. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out # RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \ # RUN: | FileCheck %s diff --git a/lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test b/lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test index 90cd2d3e327c9..887de882886ed 100644 --- a/lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test +++ b/lldb/test/Shell/Settings/TestCxxFrameFormatRecursive.test @@ -4,7 +4,7 @@ # plugin.cplusplus.display.function-name-format setting. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out # RUN: %lldb -o "settings set interpreter.stop-command-source-on-error false" \ # RUN: -x -b -s %t/commands.input %t.out -o exit 2>&1 \ # RUN: | FileCheck %s diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test index ae405be44578d..32e6dcec43ce6 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionBasename.test @@ -1,9 +1,7 @@ -# XFAIL: system-windows - # Test the ${function.basename} frame-format variable. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out # RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \ # RUN: | FileCheck %s # diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionBasenameObjC.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionBasenameObjC.test index 1a36d049db06c..e41ba49f112a9 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionBasenameObjC.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionBasenameObjC.test @@ -2,7 +2,7 @@ # don't implement this frame format variable (in this case Objective-C). # # RUN: split-file %s %t -# RUN: %build %t/main.m -o %t.objc.out +# RUN: %clang_host -g -gdwarf %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 diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test index 31602c83b17c9..2a7860fbf0e24 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArguments.test @@ -1,7 +1,7 @@ # Test the ${function.formatted-arguments} frame-format variable. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out # RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \ # RUN: | FileCheck %s diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArgumentsObjC.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArgumentsObjC.test index 61adb2ec8ac9a..c9da1d4bd7772 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArgumentsObjC.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionFormattedArgumentsObjC.test @@ -4,7 +4,7 @@ # don't implement this frame format variable (in this case Objective-C). # # RUN: split-file %s %t -# RUN: %build %t/main.m -o %t.objc.out +# RUN: %clang_host -g -gdwarf %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 diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test index 3848f7d527f6b..c53023732afcf 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiers.test @@ -1,9 +1,7 @@ -# XFAIL: system-windows - # Test the ${function.qualifiers} frame-format variable. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out # RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \ # RUN: | FileCheck %s diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiersObjC.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiersObjC.test index eff1b581c15dc..f3e2b8ea9a6b9 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiersObjC.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionQualifiersObjC.test @@ -2,8 +2,7 @@ # languages that don't implement this frame format variable (in this case Objective-C). # RUN: split-file %s %t -# -# RUN: %build %t/main.m -o %t.objc.out +# RUN: %clang_host -g -gdwarf %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 diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test index f06753157d2c7..55ebcbfa8812c 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionReturn.test @@ -1,10 +1,8 @@ -# XFAIL: system-windows - # Test the ${function.return-left} and ${function.return-right} # frame-format variables. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out # RUN: %lldb -x -b -s %t/commands.input %t.out -o exit 2>&1 \ # RUN: | FileCheck %s diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionReturnObjC.test index 69dd0fdbb0c19..2692c3d9c3e70 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: %build %t/main.m -o %t.objc.out +# RUN: %clang_host -g -gdwarf %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 diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test index a5da652372dbc..d59e154dafafd 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionScope.test @@ -1,9 +1,7 @@ -# XFAIL: system-windows - # Test the ${function.scope} frame-format variable. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out # RUN: %lldb -o "settings set interpreter.stop-command-source-on-error false" \ # RUN: -x -b -s %t/commands.input %t.out -o exit 2>&1 \ # RUN: | FileCheck %s diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionScopeObjC.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionScopeObjC.test index 310b5e1992ab8..be6ed7f1a3e04 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionScopeObjC.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionScopeObjC.test @@ -2,7 +2,7 @@ # don't implement this frame format variable (in this case Objective-C). # # RUN: split-file %s %t -# RUN: %build %t/main.m -o %t.objc.out +# RUN: %clang_host -g -gdwarf %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 diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test index 2c0bd9099eb1d..d71d98765a012 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArguments.test @@ -1,9 +1,7 @@ -# XFAIL: system-windows - # Test the ${function.template-arguments} frame-format variable. # RUN: split-file %s %t -# RUN: %build %t/main.cpp -o %t.cxx.out +# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.cxx.out # RUN: %lldb -x -b -s %t/commands.input %t.cxx.out -o exit 2>&1 \ # RUN: | FileCheck %s diff --git a/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArgumentsObjC.test b/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArgumentsObjC.test index 1726aebacb9eb..3f9872965e8c2 100644 --- a/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArgumentsObjC.test +++ b/lldb/test/Shell/Settings/TestFrameFormatFunctionTemplateArgumentsObjC.test @@ -2,7 +2,7 @@ # languages that don't implement this frame format variable (in this case Objective-C). # # RUN: split-file %s %t -# RUN: %build %t/main.m -o %t.objc.out +# RUN: %clang_host -g -gdwarf %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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits