[Lldb-commits] [lldb] 077b04e - [lldb][test] Enable PDB testing by default (#230116)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 13 05:26:05 PDT 2026
Author: Charles Zablit
Date: 2026-10-13T13:25:59+01:00
New Revision: 077b04ee8f873a1b5a9609c3d2702915becf7084
URL: https://github.com/llvm/llvm-project/commit/077b04ee8f873a1b5a9609c3d2702915becf7084
DIFF: https://github.com/llvm/llvm-project/commit/077b04ee8f873a1b5a9609c3d2702915becf7084.diff
LOG: [lldb][test] Enable PDB testing by default (#230116)
This patch enables PDB variant testing by default on Windows.
Testing with PDB is currently opt-in with the `TEST_WITH_PDB_DEBUG_INFO`
class variable on API tests. This patch makes the inverse the default:
PDB testing is enabled by default. The remaining failing tests are opted
out using a decorator while being fixed.
rdar://189620427
Added:
Modified:
lldb/docs/resources/test.md
lldb/packages/Python/lldbsuite/test/lldbinline.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/packages/Python/lldbsuite/test/test_categories.py
lldb/test/API/commands/dwim-print/TestDWIMPrint.py
lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py
lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py
lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py
lldb/test/API/commands/expression/codegen-crash-typedefdecl-not-in_declcontext/TestCodegenCrashTypedefDeclNotInDeclContext.py
lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py
lldb/test/API/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py
lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py
lldb/test/API/commands/expression/int128/Test128BitsInteger.py
lldb/test/API/commands/expression/namespace-alias/TestInlineNamespaceAlias.py
lldb/test/API/commands/expression/nested/TestNestedExpressions.py
lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py
lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py
lldb/test/API/commands/expression/urem-sign/TestScalarURem.py
lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py
lldb/test/API/commands/frame/var-dil/expr/Casts/TestFrameVarDILCast.py
lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py
lldb/test/API/functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py
lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
lldb/test/API/functionalities/data-formatter/data-formatter-ptr-matching/TestDataFormatterPtrMatching.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/error_code/TestDataFormatterStdErrorCode.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected/TestDataFormatterStdExpected.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/TestDataFormatterStdMap.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/path/TestDataFormatterStdPath.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/shared_ptr/TestDataFormatterStdSharedPtr.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/source_location/TestDataFormatterStdSourceLocation.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/span/TestDataFormatterStdSpan.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string/TestDataFormatterStdString.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string_view/TestDataFormatterStdStringView.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string/TestDataFormatterStdU8String.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string_view/TestDataFormatterStdU8StringView.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/TestDataFormatterStdUniquePtr.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/TestDataFormatterStdVariant.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py
lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py
lldb/test/API/functionalities/data-formatter/special-chars/TestSummaryStringSpecialChars.py
lldb/test/API/functionalities/data-formatter/typedef_array/TestTypedefArray.py
lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py
lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py
lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
lldb/test/API/functionalities/memory/find/TestMemoryFind.py
lldb/test/API/functionalities/optimized_code/TestNoASanExceptionAfterEvalOP_piece.py
lldb/test/API/functionalities/thread/step_out_line0/TestThreadStepOutLine0.py
lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py
lldb/test/API/functionalities/type_types/TestFindTypes.py
lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py
lldb/test/API/lang/c/enum_types/TestEnumTypes.py
lldb/test/API/lang/c/inlines/TestRedefinitionsInInlines.py
lldb/test/API/lang/c/set_values/TestSetValues.py
lldb/test/API/lang/c/step-target/TestStepTarget.py
lldb/test/API/lang/c/strings/TestCStrings.py
lldb/test/API/lang/c/struct_types/TestStructTypes.py
lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py
lldb/test/API/lang/c/vla/TestVLA.py
lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py
lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py
lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py
lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py
lldb/test/API/lang/cpp/enum_promotion/TestCPPEnumPromotion.py
lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
lldb/test/API/lang/cpp/expression-context-qualifiers/fixit/TestExprInConstMethodWithFixit.py
lldb/test/API/lang/cpp/extern_c/TestExternCSymbols.py
lldb/test/API/lang/cpp/floating-types-specialization/TestCppFloatingTypesSpecialization.py
lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py
lldb/test/API/lang/cpp/function-ref-qualifiers/TestCppFunctionRefQualifiers.py
lldb/test/API/lang/cpp/function_refs/TestFunctionRefs.py
lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py
lldb/test/API/lang/cpp/inline-namespace-in-typename/TestInlineNamespaceInTypename.py
lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py
lldb/test/API/lang/cpp/namespace/TestNamespace.py
lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py
lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py
lldb/test/API/lang/cpp/operators/TestCppOperators.py
lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py
lldb/test/API/lang/cpp/recursive_types/function-ptrs/TestRecursiveTypesFuncPtrs.py
lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py
lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py
lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
lldb/test/API/lang/cpp/step-through-trampoline/TestStepThroughTrampoline.py
lldb/test/API/lang/cpp/stl/TestSTL.py
lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py
lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py
lldb/test/API/lang/cpp/template/TestTemplateArgs.py
lldb/test/API/lang/cpp/typedef/TestCppTypedef.py
lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py
lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py
lldb/test/API/lang/mixed/TestMixedLanguages.py
lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py
lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
lldb/test/API/python_api/sbmodule/FindTypes/TestSBModuleFindTypes.py
lldb/test/API/python_api/symbol-context/TestSymbolContext.py
lldb/test/API/python_api/target/TestTargetAPI.py
lldb/test/API/python_api/type/TestTypeList.py
lldb/test/API/python_api/value/change_ptr/TestChangePtr.py
lldb/test/API/python_api/value/value_wrap/TestValueAPIWrapper.py
lldb/test/API/symstore/TestSymStore.py
lldb/test/API/test_utils/pdb/TestPdb.py
Removed:
################################################################################
diff --git a/lldb/docs/resources/test.md b/lldb/docs/resources/test.md
index 87c2f5d9c61f4f..77e15452f5dda1 100644
--- a/lldb/docs/resources/test.md
+++ b/lldb/docs/resources/test.md
@@ -192,8 +192,8 @@ similar to what you want to do.
Another thing this enables is having
diff erent variants for the same test
case. By default, we run every test for two debug info formats, once with
-DWARF from the object files and another with a dSYM on macOS or split
-DWARF (DWO) on Linux. But there are many more things we can test
+DWARF from the object files and another with a dSYM on macOS, split DWARF
+(DWO) on Linux or PDB on Windows. But there are many more things we can test
that are orthogonal to the test itself. On GreenDragon we have a matrix bot
that runs the test suite under
diff erent configurations, with older host
compilers and
diff erent DWARF versions.
diff --git a/lldb/packages/Python/lldbsuite/test/lldbinline.py b/lldb/packages/Python/lldbsuite/test/lldbinline.py
index 975d1ad8ec81f7..969ba3d7eaa1ed 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbinline.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbinline.py
@@ -212,7 +212,6 @@ def MakeInlineTest(
decorators=None,
name=None,
build_dict=None,
- test_with_pdb_debug_info=False,
):
# Adjust the filename if it ends in .pyc. We want filenames to
# reflect the source python file, not the compiled variant.
@@ -236,7 +235,6 @@ def MakeInlineTest(
test=test_func,
name=name,
_build_dict=build_dict,
- TEST_WITH_PDB_DEBUG_INFO=test_with_pdb_debug_info,
),
)
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index c5a5574412d9fa..2e1dab2e6717be 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -2189,11 +2189,6 @@ def no_reason(*args, **kwargs):
if enabled
]
- # PDB is off by default, because it has a lot of failures
- # right now. See llvm.org/pr149498.
- if original_testcase.TEST_WITH_PDB_DEBUG_INFO:
- dbginfo_categories.append("pdb")
-
xfail_fns = getattr(attrvalue, "__variant_xfail__", {})
skip_fns = getattr(attrvalue, "__variant_skip__", {})
xfail_for_debug_info_cat_fn = xfail_fns.get("debug_info", no_reason)
@@ -2305,13 +2300,6 @@ class TestBase(Base, metaclass=LLDBTestCaseFactory):
# test multiple times with various debug info types.
NO_DEBUG_INFO_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = False
- """
- Subclasses can set this to True to test with PDB in addition to the other debug info
- types. This id off by default because many tests will fail due to missing functionality in PDB.
- See llvm.org/pr149498.
- """
-
def generateSource(self, source):
template = source + ".template"
temp = os.path.join(self.getSourceDir(), template)
diff --git a/lldb/packages/Python/lldbsuite/test/test_categories.py b/lldb/packages/Python/lldbsuite/test/test_categories.py
index b8a764fb3349a5..4bdb1d6b715e2d 100644
--- a/lldb/packages/Python/lldbsuite/test/test_categories.py
+++ b/lldb/packages/Python/lldbsuite/test/test_categories.py
@@ -16,7 +16,7 @@
"dwarf": True,
"dwo": True,
"dsym": True,
- "pdb": False,
+ "pdb": True,
"gmodules": False,
}
diff --git a/lldb/test/API/commands/dwim-print/TestDWIMPrint.py b/lldb/test/API/commands/dwim-print/TestDWIMPrint.py
index 36098bc5941f84..dbdb35d31848c9 100644
--- a/lldb/test/API/commands/dwim-print/TestDWIMPrint.py
+++ b/lldb/test/API/commands/dwim-print/TestDWIMPrint.py
@@ -179,6 +179,7 @@ def test_variable_expression_path(self):
self._expect_cmd("dwim-print w.s", "frame variable")
self._expect_cmd("dwim-print wp->s", "expression")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_direct_child_access(self):
"""Test dwim-print supports accessing members/ivars without qualification."""
self.build()
diff --git a/lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py b/lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py
index 55bccb4f84e7ab..f1eccf236c3bd5 100644
--- a/lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py
+++ b/lldb/test/API/commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py
@@ -18,6 +18,7 @@
@requireExpressionEvaluation
class TestArgumentPassingRestrictions(TestBase):
@skipIf(compiler="clang", compiler_version=["<", "7.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_argument_passing_restrictions(self):
self.build()
diff --git a/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py b/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py
index 0d4a6109e1b127..174306ec8e66a2 100644
--- a/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py
+++ b/lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py
@@ -10,8 +10,6 @@
@requireExpressionEvaluation
class ExprCommandCallFunctionTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
@expectedFailureAll(
compiler="icc", bugnumber="llvm.org/pr14437, fails with ICC 13.1"
)
diff --git a/lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py b/lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py
index 5cf9508892950f..05e1744b15a49d 100644
--- a/lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py
+++ b/lldb/test/API/commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py
@@ -13,8 +13,6 @@
@requireExpressionEvaluation
class TestClassTemplateSpecializationParametersHandling(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def test_class_template_specialization(self):
self.build()
diff --git a/lldb/test/API/commands/expression/codegen-crash-typedefdecl-not-in_declcontext/TestCodegenCrashTypedefDeclNotInDeclContext.py b/lldb/test/API/commands/expression/codegen-crash-typedefdecl-not-in_declcontext/TestCodegenCrashTypedefDeclNotInDeclContext.py
index f08c0dcbda983b..3f72ebbbb2a06c 100644
--- a/lldb/test/API/commands/expression/codegen-crash-typedefdecl-not-in_declcontext/TestCodegenCrashTypedefDeclNotInDeclContext.py
+++ b/lldb/test/API/commands/expression/codegen-crash-typedefdecl-not-in_declcontext/TestCodegenCrashTypedefDeclNotInDeclContext.py
@@ -1,4 +1,8 @@
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
-lldbinline.MakeInlineTest(__file__, globals(), [])
+lldbinline.MakeInlineTest(
+ __file__,
+ globals(),
+ [decorators.expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")],
+)
diff --git a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
index 03851924aba45d..57cb4bad18269e 100644
--- a/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
+++ b/lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
@@ -200,6 +200,7 @@ def test_error_type(self):
desc = value.GetObjectDescription()
self.assertEqual(desc, None)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_command_expr_sbdata(self):
"""Test the structured diagnostics data"""
self.build()
diff --git a/lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py b/lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
index 01451c32b0a33c..89e474ae843f52 100644
--- a/lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
+++ b/lldb/test/API/commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
@@ -12,7 +12,6 @@
@requireExpressionEvaluation
class ExprInsideLambdaTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def expectExprError(self, expr: str, expected: str):
diff --git a/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py b/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py
index 3e8dc8b1d446e9..83c329cfc8c60a 100644
--- a/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py
+++ b/lldb/test/API/commands/expression/function_template_specialization_temp_args/TestFunctionTemplateSpecializationTempArgs.py
@@ -6,6 +6,7 @@
class TestFunctionTemplateSpecializationTempArgs(TestBase):
@skipIf(oslist=["windows"], archs=["aarch64"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_function_template_specialization_temp_args(self):
self.build()
diff --git a/lldb/test/API/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py b/lldb/test/API/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py
index 4de2a41ee700eb..c0ad662cbaa9e8 100644
--- a/lldb/test/API/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py
+++ b/lldb/test/API/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py
@@ -4,5 +4,11 @@
lldbinline.MakeInlineTest(
__file__,
globals(),
- [lldbinline.expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr43707")],
+ [
+ lldbinline.expectedFailureAll(
+ oslist=["windows"],
+ debug_info=decorators.no_match(["pdb"]),
+ bugnumber="llvm.org/pr43707",
+ )
+ ],
)
diff --git a/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py b/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py
index c13eb13072849f..e1ae0647dc4165 100644
--- a/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py
+++ b/lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py
@@ -11,6 +11,7 @@
@requireExpressionEvaluation
class TestInlineNamespace(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
diff --git a/lldb/test/API/commands/expression/int128/Test128BitsInteger.py b/lldb/test/API/commands/expression/int128/Test128BitsInteger.py
index 5e1faabd3aea93..7a1b7c754638c6 100644
--- a/lldb/test/API/commands/expression/int128/Test128BitsInteger.py
+++ b/lldb/test/API/commands/expression/int128/Test128BitsInteger.py
@@ -2,5 +2,12 @@
from lldbsuite.test import decorators
lldbinline.MakeInlineTest(
- __file__, globals(), decorators.skipIf(archs=["arm$", "armv7k", "i386"])
+ __file__,
+ globals(),
+ [
+ decorators.skipIf(archs=["arm$", "armv7k", "i386"]),
+ decorators.expectedFailureAll(
+ debug_info=["pdb"], bugnumber="llvm.org/pr149498"
+ ),
+ ],
)
diff --git a/lldb/test/API/commands/expression/namespace-alias/TestInlineNamespaceAlias.py b/lldb/test/API/commands/expression/namespace-alias/TestInlineNamespaceAlias.py
index cb876997e64806..fc6d51eaeaf014 100644
--- a/lldb/test/API/commands/expression/namespace-alias/TestInlineNamespaceAlias.py
+++ b/lldb/test/API/commands/expression/namespace-alias/TestInlineNamespaceAlias.py
@@ -14,6 +14,7 @@
@requireExpressionEvaluation
class TestInlineNamespace(TestBase):
@skipIf(compiler="clang", compiler_version=["<", "16.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
diff --git a/lldb/test/API/commands/expression/nested/TestNestedExpressions.py b/lldb/test/API/commands/expression/nested/TestNestedExpressions.py
index 0dabe42f4e74c5..67a7bc63c2bb3c 100644
--- a/lldb/test/API/commands/expression/nested/TestNestedExpressions.py
+++ b/lldb/test/API/commands/expression/nested/TestNestedExpressions.py
@@ -9,6 +9,7 @@
class NestedExpressions(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_enum_in_nested_structs(self):
"""
Test expressions that references an enumeration in nested structs.
@@ -50,6 +51,7 @@ def test_static_in_nested_structs(self):
result_value="Eleven",
)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_enum_in_nested_namespaces(self):
"""
Test expressions that references an enumeration in nested namespaces.
diff --git a/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py b/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py
index 5d4af9c4d2db8a..7c0c73ad1fd1cf 100644
--- a/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py
+++ b/lldb/test/API/commands/expression/pr35310/TestExprsBug35310.py
@@ -6,8 +6,6 @@
@requireExpressionEvaluation
class ExprBug35310(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py b/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py
index aa125253763fdd..e1000c7c0bf20f 100644
--- a/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py
+++ b/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py
@@ -22,7 +22,7 @@ def cleanJITFiles(self):
os.remove(j)
return
- @expectedFailureAll(oslist=["windows"])
+ @expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
def test_save_jit_objects(self):
self.build()
os.chdir(self.getBuildDir())
diff --git a/lldb/test/API/commands/expression/urem-sign/TestScalarURem.py b/lldb/test/API/commands/expression/urem-sign/TestScalarURem.py
index 03424658f3ed3d..3f72ebbbb2a06c 100644
--- a/lldb/test/API/commands/expression/urem-sign/TestScalarURem.py
+++ b/lldb/test/API/commands/expression/urem-sign/TestScalarURem.py
@@ -1,4 +1,8 @@
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
-lldbinline.MakeInlineTest(__file__, globals(), None)
+lldbinline.MakeInlineTest(
+ __file__,
+ globals(),
+ [decorators.expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")],
+)
diff --git a/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py b/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py
index 3541e9eccccc31..5424d582074db1 100644
--- a/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py
+++ b/lldb/test/API/commands/expression/xvalue/TestXValuePrinting.py
@@ -6,6 +6,7 @@
@requireExpressionEvaluation
class ExprXValuePrintingTestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
"""Printing an xvalue should work."""
self.build()
diff --git a/lldb/test/API/commands/frame/var-dil/expr/Casts/TestFrameVarDILCast.py b/lldb/test/API/commands/frame/var-dil/expr/Casts/TestFrameVarDILCast.py
index 17a083c19a5251..3cb7e2f8a917b6 100644
--- a/lldb/test/API/commands/frame/var-dil/expr/Casts/TestFrameVarDILCast.py
+++ b/lldb/test/API/commands/frame/var-dil/expr/Casts/TestFrameVarDILCast.py
@@ -13,6 +13,7 @@
class TestFrameVarDILCast(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_type_cast(self):
self.build()
(target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py b/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
index 1f5718149b3e32..56750dac78f3d2 100644
--- a/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
+++ b/lldb/test/API/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
@@ -12,6 +12,7 @@
class BreakpointByLineAndColumnTestCase(TestBase):
## Skip gcc version less 7.1 since it doesn't support -gcolumn-info
@skipIf(compiler="gcc", compiler_version=["<", "7.1"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def testBreakpointByLineAndColumn(self):
self.build()
src_file = lldb.SBFileSpec("main.cpp")
@@ -27,6 +28,7 @@ def testBreakpointByLineAndColumn(self):
in_then |= b_loc.GetColumn() == 50
self.assertTrue(in_then)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def testBreakpointByLineAndColumnUsingCLI(self):
self.build()
src_file = lldb.SBFileSpec("main.cpp")
diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py b/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
index 929ddf18ad030e..1a0c0630e8f4ee 100644
--- a/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
+++ b/lldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
@@ -4,11 +4,13 @@
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
class BreakpointIDTestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py b/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py
index c99daf0599c7d3..f7a6b0a85d9edd 100644
--- a/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py
+++ b/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py
@@ -5,6 +5,7 @@
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
@@ -17,6 +18,7 @@ def check_location_file(self, bp, loc, test_name):
comp_name = comp_unit.GetFileSpec().GetFilename()
return comp_name == test_name
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_regex_breakpoint_language(self):
"""Test that the name regex breakpoint commands obey the language filter."""
diff --git a/lldb/test/API/functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py b/lldb/test/API/functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py
index c32a4517b2b82a..d67abcd725eb16 100644
--- a/lldb/test/API/functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py
+++ b/lldb/test/API/functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py
@@ -5,6 +5,7 @@
class TestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
if self.TraceOn():
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py b/lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
index d0bb842c67b1e7..f659f1edd1fc99 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
@@ -9,8 +9,6 @@
class CategoriesDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py b/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
index d3f8cc85ad916e..aa848d46817389 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
@@ -17,6 +17,7 @@ def setUp(self):
# Find the line number to break at.
self.line = line_number("main.cpp", "// Set break point at this line.")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_with_run_command(self):
"""Test that that file and class static variables display correctly."""
self.build()
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-matching/TestDataFormatterPtrMatching.py b/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-matching/TestDataFormatterPtrMatching.py
index ebefe87e913a35..6dd36555045ec8 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-matching/TestDataFormatterPtrMatching.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-ptr-matching/TestDataFormatterPtrMatching.py
@@ -16,6 +16,7 @@ def setUp(self):
# Find the line number to break at.
self.line = line_number("main.cpp", "// Set break point at this line.")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_summary_with_command(self):
"""Test "type summary add" command line option "--pointer-match-depth"."""
self.build()
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py
index 26ed282781f63a..5194208a09556f 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py
@@ -11,7 +11,6 @@
class StdAtomicTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def get_variable(self, name):
var = self.frame().FindVariable(name)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
index e71dfe589a0266..4f367550606a21 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
@@ -13,7 +13,6 @@
class GenericBitsetDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
index d2924f1de3b575..7dcdf06112b3e8 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
@@ -6,7 +6,6 @@
class GenericDequeDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def findVariable(self, name):
var = self.frame().FindVariable(name)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/error_code/TestDataFormatterStdErrorCode.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/error_code/TestDataFormatterStdErrorCode.py
index 841084bf456379..8c0f7bce4362d7 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/error_code/TestDataFormatterStdErrorCode.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/error_code/TestDataFormatterStdErrorCode.py
@@ -10,7 +10,6 @@
class StdErrorCodeTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def check_value(self, name, summary):
self.expect_var_path(
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected/TestDataFormatterStdExpected.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected/TestDataFormatterStdExpected.py
index c465f8998d6c48..22f93c82045a27 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected/TestDataFormatterStdExpected.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected/TestDataFormatterStdExpected.py
@@ -8,7 +8,6 @@
class StdExpectedDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
@add_test_categories(["msvcstl"])
def test_msvcstl(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
index a3dcce90b74e9d..b3f77b4ccceff9 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
@@ -10,7 +10,6 @@
class TestDataFormatterGenericForwardList(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
index 1be1bfc3fc19da..d290b0deb8a2f5 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
@@ -11,7 +11,6 @@
class GenericListDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
# Call super's setUp().
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
index 033246deb0faa8..14d9f0c21ab0a0 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
@@ -12,7 +12,6 @@
class GenericListDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
NO_DEBUG_INFO_TESTCASE = True
def do_test_with_run_command(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/TestDataFormatterStdMap.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/TestDataFormatterStdMap.py
index 2a420d8ed58aea..6d0fb04b0f9ec3 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/TestDataFormatterStdMap.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/map/TestDataFormatterStdMap.py
@@ -9,7 +9,6 @@
class StdMapDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
index 0486956ade6307..c99fa56af7c4de 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
@@ -12,7 +12,6 @@
class GenericMultiMapDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
index d5cd57cafea6ea..12a2854d4d09d1 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
@@ -11,7 +11,6 @@
class GenericMultiSetDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py
index 570be8b689a375..836b9bd08098d5 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py
@@ -5,7 +5,6 @@
class GenericOptionalDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def do_test_with_run_command(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py
index 03cae6531e72ae..27c7947c3499d2 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py
@@ -10,7 +10,6 @@
class StdOrderingTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def do_test(self):
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/path/TestDataFormatterStdPath.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/path/TestDataFormatterStdPath.py
index f5708856507c2f..65bd8ccde1e396 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/path/TestDataFormatterStdPath.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/path/TestDataFormatterStdPath.py
@@ -8,7 +8,6 @@
class StdPathTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def do_test(self):
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
index 3063d23b9d9ef0..3b3bf081e0b808 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
@@ -11,7 +11,6 @@
class GenericSetDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/shared_ptr/TestDataFormatterStdSharedPtr.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/shared_ptr/TestDataFormatterStdSharedPtr.py
index c0cd39a2aee3c1..a91439fcbee6f6 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/shared_ptr/TestDataFormatterStdSharedPtr.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/shared_ptr/TestDataFormatterStdSharedPtr.py
@@ -9,7 +9,6 @@
class TestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def do_test(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/source_location/TestDataFormatterStdSourceLocation.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/source_location/TestDataFormatterStdSourceLocation.py
index f648567e07f3bc..e7acdd33d0cd41 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/source_location/TestDataFormatterStdSourceLocation.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/source_location/TestDataFormatterStdSourceLocation.py
@@ -10,7 +10,6 @@
class StdSourceLocationTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def do_test(self):
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/span/TestDataFormatterStdSpan.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/span/TestDataFormatterStdSpan.py
index ada46277224902..4bd4bb12e83387 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/span/TestDataFormatterStdSpan.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/span/TestDataFormatterStdSpan.py
@@ -9,7 +9,6 @@
class StdSpanDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def findVariable(self, name):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string/TestDataFormatterStdString.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string/TestDataFormatterStdString.py
index fbc8e59413e6c5..b8d2d9a4f4c168 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string/TestDataFormatterStdString.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string/TestDataFormatterStdString.py
@@ -11,7 +11,6 @@
class StdStringDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string_view/TestDataFormatterStdStringView.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string_view/TestDataFormatterStdStringView.py
index ea924a0a279083..ed3ecd0b0b91ca 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string_view/TestDataFormatterStdStringView.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string_view/TestDataFormatterStdStringView.py
@@ -11,7 +11,6 @@
class StdStringViewDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py
index 5cf409c4b0c2c4..5db255316c2d60 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py
@@ -10,7 +10,6 @@
class TestDataFormatterStdTuple(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string/TestDataFormatterStdU8String.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string/TestDataFormatterStdU8String.py
index 9dd9ae403e16e1..2bc975852cdedd 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string/TestDataFormatterStdU8String.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string/TestDataFormatterStdU8String.py
@@ -11,7 +11,6 @@
class StdU8StringDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def do_test(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string_view/TestDataFormatterStdU8StringView.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string_view/TestDataFormatterStdU8StringView.py
index 50bb98b82716d2..05f88b2060e6d2 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string_view/TestDataFormatterStdU8StringView.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string_view/TestDataFormatterStdU8StringView.py
@@ -11,7 +11,6 @@
class StdU8StringViewDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def do_test(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/TestDataFormatterStdUniquePtr.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/TestDataFormatterStdUniquePtr.py
index a6d016070b1146..24ec4d841baeba 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/TestDataFormatterStdUniquePtr.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/TestDataFormatterStdUniquePtr.py
@@ -9,7 +9,6 @@
class TestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def do_test(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
index a1ab330b4cf347..738cd3b7e8af2f 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
@@ -4,7 +4,6 @@
class GenericUnorderedDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py
index fd12d8abed2fdf..376993173fc954 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py
@@ -10,7 +10,6 @@
class StdValarrayDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def check_valarray(self, process, bkpt):
#
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/TestDataFormatterStdVariant.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/TestDataFormatterStdVariant.py
index c1b0bacbe4ca74..20213274cd908e 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/TestDataFormatterStdVariant.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/variant/TestDataFormatterStdVariant.py
@@ -9,7 +9,6 @@
class StdVariantDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def do_test(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
index 01d5cdbaefd8a8..e7b2d0e954516b 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
@@ -10,7 +10,6 @@
class StdVBoolDataFormatterTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def do_test(self):
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py
index d589bdb6ecbfce..3f59af890c4406 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py
@@ -9,7 +9,6 @@
class StdVectorDataFormatterTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def check_numbers(self, var_name, show_ptr=False):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py b/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
index d9fb188b1b34fb..a29fad0fca3c54 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
@@ -10,8 +10,6 @@
@requireExpressionEvaluation
class DataFormatterSynthValueTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py b/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py
index f70162bf285839..7a4f1bb4d8ecc3 100644
--- a/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py
+++ b/lldb/test/API/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py
@@ -4,6 +4,7 @@
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
@@ -15,6 +16,7 @@ def setUp(self):
# Find the line number to break at.
self.line = line_number("main.cpp", "// Set breakpoint here")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_with_run_command(self):
"""Test that a pointer/reference to a typedef is formatted as we want."""
self.build()
diff --git a/lldb/test/API/functionalities/data-formatter/special-chars/TestSummaryStringSpecialChars.py b/lldb/test/API/functionalities/data-formatter/special-chars/TestSummaryStringSpecialChars.py
index d2ee48dbb6bc78..982aae4001f50a 100644
--- a/lldb/test/API/functionalities/data-formatter/special-chars/TestSummaryStringSpecialChars.py
+++ b/lldb/test/API/functionalities/data-formatter/special-chars/TestSummaryStringSpecialChars.py
@@ -5,12 +5,14 @@
class TestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_summary_string_with_bare_dollar_char(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "break here", lldb.SBFileSpec("main.c"))
self.runCmd("type summary add --summary-string '$ $CASH $' --no-value Dollars")
self.expect("v cash", startstr="(Dollars) cash = $ $CASH $")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_summary_string_with_bare_dollar_char_before_var(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "break here", lldb.SBFileSpec("main.c"))
diff --git a/lldb/test/API/functionalities/data-formatter/typedef_array/TestTypedefArray.py b/lldb/test/API/functionalities/data-formatter/typedef_array/TestTypedefArray.py
index f08c0dcbda983b..3f72ebbbb2a06c 100644
--- a/lldb/test/API/functionalities/data-formatter/typedef_array/TestTypedefArray.py
+++ b/lldb/test/API/functionalities/data-formatter/typedef_array/TestTypedefArray.py
@@ -1,4 +1,8 @@
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
-lldbinline.MakeInlineTest(__file__, globals(), [])
+lldbinline.MakeInlineTest(
+ __file__,
+ globals(),
+ [decorators.expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")],
+)
diff --git a/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py b/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py
index 05d290cd7a3644..12196f5dca3c44 100644
--- a/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py
+++ b/lldb/test/API/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py
@@ -4,6 +4,7 @@
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
@@ -15,6 +16,7 @@ def setUp(self):
# Find the line number to break at.
self.line = line_number("main.cpp", "// Set break point at this line.")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_with_run_command(self):
"""Test that that file and class static variables display correctly."""
self.build()
diff --git a/lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py b/lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py
index 73923dc0305c6f..8ffe6eb8730b86 100644
--- a/lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py
+++ b/lldb/test/API/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py
@@ -16,6 +16,7 @@ def setUp(self):
# Find the line number to break at.
self.line = line_number("main.cpp", " // Set breakpoint here.")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_with_run_command(self):
"""Test using Python synthetic children provider."""
self.build()
diff --git a/lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py b/lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
index 1839c28aeb29fc..c4f474091a6b1f 100644
--- a/lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
+++ b/lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
@@ -17,6 +17,7 @@ def setUp(self):
# rdar://problem/14035604
@skipIf(compiler="gcc") # gcc don't have ext_vector_type extension
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_with_run_command(self):
"""Check that vector types format properly"""
self.build()
diff --git a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
index 835358f0685099..32551056976cee 100644
--- a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
+++ b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
@@ -11,6 +11,7 @@
class AssertingInferiorTestCase(TestBase):
@expectedFailureAll(
oslist=["windows"],
+ debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
@expectedFailureAll(oslist=["linux"], archs=["arm$"], bugnumber="llvm.org/pr25338")
@@ -22,6 +23,7 @@ def test_inferior_asserting(self):
@expectedFailureAll(
oslist=["windows"],
+ debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
@expectedFailureAndroid(api_levels=list(range(16 + 1))) # b.android.com/179836
@@ -32,6 +34,7 @@ def test_inferior_asserting_register(self):
@expectedFailureAll(
oslist=["windows"],
+ debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
@expectedFailureAll(
@@ -58,6 +61,7 @@ def test_inferior_asserting_python(self):
@expectedFailureAll(
oslist=["windows"],
+ debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
@expectedFailureAll(
@@ -74,6 +78,7 @@ def test_inferior_asserting_expr(self):
@expectedFailureAll(
oslist=["windows"],
+ debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
@expectedFailureAll(
diff --git a/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py b/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
index b5899bf9f264d9..ee796f9252bdf6 100644
--- a/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
+++ b/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
@@ -13,6 +13,7 @@ class TestInlineStepping(TestBase):
compiler="icc",
bugnumber="# Not really a bug. ICC combines two inlined functions.",
)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_with_python_api(self):
"""Test stepping over and into inlined functions."""
self.build()
@@ -20,13 +21,16 @@ def test_with_python_api(self):
@add_test_categories(["pyapi"])
@skipIf(oslist=["windows"], archs=["aarch64"]) # Flaky on buildbot
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_step_over_with_python_api(self):
"""Test stepping over and into inlined functions."""
self.build()
self.inline_stepping_step_over()
@add_test_categories(["pyapi"])
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr32343"
+ )
def test_step_in_template_with_python_api(self):
"""Test stepping in to templated functions."""
self.build()
diff --git a/lldb/test/API/functionalities/memory/find/TestMemoryFind.py b/lldb/test/API/functionalities/memory/find/TestMemoryFind.py
index 7d8bd6be8a6560..7876f13cf95897 100644
--- a/lldb/test/API/functionalities/memory/find/TestMemoryFind.py
+++ b/lldb/test/API/functionalities/memory/find/TestMemoryFind.py
@@ -17,6 +17,7 @@ def setUp(self):
self.line = line_number("main.cpp", "// break here")
@requireExpressionEvaluation # (memory find calls strlen())
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_memory_find(self):
"""Test the 'memory find' command."""
self.build()
diff --git a/lldb/test/API/functionalities/optimized_code/TestNoASanExceptionAfterEvalOP_piece.py b/lldb/test/API/functionalities/optimized_code/TestNoASanExceptionAfterEvalOP_piece.py
index c8308c16011e0c..3f72ebbbb2a06c 100644
--- a/lldb/test/API/functionalities/optimized_code/TestNoASanExceptionAfterEvalOP_piece.py
+++ b/lldb/test/API/functionalities/optimized_code/TestNoASanExceptionAfterEvalOP_piece.py
@@ -1,4 +1,8 @@
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
-lldbinline.MakeInlineTest(__file__, globals())
+lldbinline.MakeInlineTest(
+ __file__,
+ globals(),
+ [decorators.expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")],
+)
diff --git a/lldb/test/API/functionalities/thread/step_out_line0/TestThreadStepOutLine0.py b/lldb/test/API/functionalities/thread/step_out_line0/TestThreadStepOutLine0.py
index 2707ca852f6626..2ea792f2a51e07 100644
--- a/lldb/test/API/functionalities/thread/step_out_line0/TestThreadStepOutLine0.py
+++ b/lldb/test/API/functionalities/thread/step_out_line0/TestThreadStepOutLine0.py
@@ -11,6 +11,7 @@
class ThreadStepOutLine0TestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
target, process, thread, _ = lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py b/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py
index be798df6893861..9ddc31c5a55ca6 100644
--- a/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py
+++ b/lldb/test/API/functionalities/type_get_module/TestTypeGetModule.py
@@ -58,6 +58,7 @@ def find_type(self, type_list, name):
self.assertTrue(result.IsValid())
return result
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
target = lldbutil.run_to_breakpoint_make_target(self)
diff --git a/lldb/test/API/functionalities/type_types/TestFindTypes.py b/lldb/test/API/functionalities/type_types/TestFindTypes.py
index 42b5c4cfaaf77c..19b063906be24e 100644
--- a/lldb/test/API/functionalities/type_types/TestFindTypes.py
+++ b/lldb/test/API/functionalities/type_types/TestFindTypes.py
@@ -3,11 +3,13 @@
"""
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class TypeFindFirstTestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_find_first_type(self):
"""
Test SBTarget::FindTypes() and SBModule::FindTypes() APIs.
diff --git a/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py b/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py
index a94d95d398c684..3bdd20a850eba8 100644
--- a/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py
+++ b/lldb/test/API/functionalities/unused-inlined-parameters/TestUnusedInlinedParameters.py
@@ -3,11 +3,13 @@
"""
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class TestUnusedInlinedParameters(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_unused_inlined_parameters(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/c/enum_types/TestEnumTypes.py b/lldb/test/API/lang/c/enum_types/TestEnumTypes.py
index 225f3b876e3e5a..f26014c876a873 100644
--- a/lldb/test/API/lang/c/enum_types/TestEnumTypes.py
+++ b/lldb/test/API/lang/c/enum_types/TestEnumTypes.py
@@ -15,6 +15,7 @@ def setUp(self):
self.line = line_number("main.c", "// Set break point at this line.")
@requireExpressionEvaluation
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_command_line(self):
"""Test 'image lookup -t enum_test_days' and check for correct display and enum value printing."""
self.build()
diff --git a/lldb/test/API/lang/c/inlines/TestRedefinitionsInInlines.py b/lldb/test/API/lang/c/inlines/TestRedefinitionsInInlines.py
index 0deeeba56254e7..b20db9afb6bedc 100644
--- a/lldb/test/API/lang/c/inlines/TestRedefinitionsInInlines.py
+++ b/lldb/test/API/lang/c/inlines/TestRedefinitionsInInlines.py
@@ -10,6 +10,7 @@ class TestRedefinitionsInInlines(TestBase):
# https://github.com/llvm/llvm-project/issues/28219
@skipIf(compiler="clang", compiler_version=["<", "3.5"])
@skipIfWasm # no expression evaluation
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.source = "main.c"
self.build()
diff --git a/lldb/test/API/lang/c/set_values/TestSetValues.py b/lldb/test/API/lang/c/set_values/TestSetValues.py
index 822bbd68dc92c3..36ac7e5818d835 100644
--- a/lldb/test/API/lang/c/set_values/TestSetValues.py
+++ b/lldb/test/API/lang/c/set_values/TestSetValues.py
@@ -19,6 +19,7 @@ def setUp(self):
self.line4 = line_number("main.c", "// Set break point #4.")
self.line5 = line_number("main.c", "// Set break point #5.")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
"""Test settings and readings of program variables."""
self.build()
diff --git a/lldb/test/API/lang/c/step-target/TestStepTarget.py b/lldb/test/API/lang/c/step-target/TestStepTarget.py
index 3aab10cf285ed7..e53c13d431e745 100644
--- a/lldb/test/API/lang/c/step-target/TestStepTarget.py
+++ b/lldb/test/API/lang/c/step-target/TestStepTarget.py
@@ -27,7 +27,9 @@ def get_to_start(self):
return thread
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr32343"
+ )
def test_with_end_line(self):
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
@@ -39,7 +41,9 @@ def test_with_end_line(self):
self.assertEqual(frame.name, "lotsOfArgs", "Stepped to lotsOfArgs.")
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr32343"
+ )
def test_with_end_line_bad_name(self):
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
@@ -62,7 +66,9 @@ def test_with_end_line_deeper(self):
frame = thread.frames[0]
self.assertEqual(frame.name, "modifyInt", "Stepped to modifyInt.")
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr32343"
+ )
def test_with_command_and_block(self):
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
self.do_command_and_block()
@@ -79,7 +85,9 @@ def do_command_and_block(self, use_regexp_step=False):
frame = thread.frames[0]
self.assertEqual(frame.name, "lotsOfArgs", "Stepped to lotsOfArgs.")
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr32343"
+ )
def test_with_command_and_block_and_bad_name(self):
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
self.do_with_command_and_block_and_bad_name()
diff --git a/lldb/test/API/lang/c/strings/TestCStrings.py b/lldb/test/API/lang/c/strings/TestCStrings.py
index 1198689c6b981c..7695064627a097 100644
--- a/lldb/test/API/lang/c/strings/TestCStrings.py
+++ b/lldb/test/API/lang/c/strings/TestCStrings.py
@@ -9,6 +9,7 @@
@requireExpressionEvaluation
class CStringsTestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_with_run_command(self):
"""Tests that C strings work as expected in expressions"""
self.build()
diff --git a/lldb/test/API/lang/c/struct_types/TestStructTypes.py b/lldb/test/API/lang/c/struct_types/TestStructTypes.py
index f0b5ba278f79fe..3679ccc938dc58 100644
--- a/lldb/test/API/lang/c/struct_types/TestStructTypes.py
+++ b/lldb/test/API/lang/c/struct_types/TestStructTypes.py
@@ -1,4 +1,13 @@
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
-lldbinline.MakeInlineTest(__file__, globals(), [decorators.requireExpressionEvaluation])
+lldbinline.MakeInlineTest(
+ __file__,
+ globals(),
+ [
+ decorators.requireExpressionEvaluation,
+ decorators.expectedFailureAll(
+ debug_info=["pdb"], bugnumber="llvm.org/pr149498"
+ ),
+ ],
+)
diff --git a/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py b/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py
index 912c7101ec849d..1d9eda6381981e 100644
--- a/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py
+++ b/lldb/test/API/lang/c/unicode/TestUnicodeSymbols.py
@@ -7,6 +7,7 @@
class TestUnicodeSymbols(TestBase):
@skipIf(compiler="clang", compiler_version=["<", "7.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_union_members(self):
self.build()
spec = lldb.SBModuleSpec()
diff --git a/lldb/test/API/lang/c/vla/TestVLA.py b/lldb/test/API/lang/c/vla/TestVLA.py
index ff4da0ee757403..83a4056510e22f 100644
--- a/lldb/test/API/lang/c/vla/TestVLA.py
+++ b/lldb/test/API/lang/c/vla/TestVLA.py
@@ -6,6 +6,7 @@
class TestVLA(TestBase):
@skipIf(compiler="clang", compiler_version=["<", "8.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_variable_list(self):
self.build()
_, process, _, _ = lldbutil.run_to_source_breakpoint(
@@ -25,6 +26,7 @@ def test_variable_list(self):
self.assertNotIn("vla_expr", value.name)
@decorators.skipIf(compiler="clang", compiler_version=["<", "8.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_vla(self):
self.build()
_, process, _, _ = lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py b/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py
index d58b0ea543847a..d196ca3b1520ea 100644
--- a/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py
+++ b/lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py
@@ -18,7 +18,7 @@ class AbiTagStructorsTestCase(TestBase):
bugnumber="Required Clang flag not supported",
)
@requireClang
- @expectedFailureAll(oslist=["windows"])
+ @expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
@requireExpressionEvaluation
def test_with_structor_linkage_names(self):
self.build(dictionary={"CXXFLAGS_EXTRAS": "-gstructor-decl-linkage-names"})
diff --git a/lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py b/lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py
index d044216fe6e52d..dc45d611e7f26d 100644
--- a/lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py
+++ b/lldb/test/API/lang/cpp/break-on-initializers/TestBreakOnCPP11Initializers.py
@@ -9,10 +9,12 @@
import lldb
import lldbsuite.test.lldbutil as lldbutil
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
class TestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_breakpoints_on_initializers(self):
"""Show we can set breakpoints on initializers appearing both before
and after the constructor body, and hit them."""
diff --git a/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py b/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
index 6ae27a4e492901..1b5baf79c055d3 100644
--- a/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
+++ b/lldb/test/API/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
@@ -23,6 +23,7 @@ def make_breakpoint(self, name, type, expected_num_locations):
)
return bkpt
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_cpp_breakpoint_cmds(self):
"""Test a sequence of breakpoint command add, list, and delete."""
self.build()
diff --git a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
index 64bd30c77cf5e9..be1c5b54e12c0b 100644
--- a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
+++ b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
@@ -6,8 +6,6 @@
@requireExpressionEvaluation
class TestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
index f2467cbea9439b..5273076bf356db 100644
--- a/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
+++ b/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py
@@ -9,6 +9,7 @@
class TemplatePackArgsTestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_template_argument_pack(self):
self.build()
(target, _, thread, _) = lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
index 5f4abb1172824a..7a05a5854986cb 100644
--- a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
+++ b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
@@ -11,6 +11,7 @@
class TestCase(TestBase):
SHARED_BUILD_TESTCASE = False
+ @skipIf(debug_info=["pdb"], bugnumber="llvm.org/pr149498") # Asserts in CodeGen
@requireExpressionEvaluation
def test(self):
self.build()
@@ -212,7 +213,10 @@ def test_shadowed_static_inline_members_dwarf5(self):
def test_shadowed_static_inline_members_dwarf4(self):
self.check_shadowed_static_inline_members("-gdwarf-4")
- @expectedFailureAll(bugnumber="target var doesn't honour global namespace")
+ @expectedFailureAll(
+ debug_info=no_match(["pdb"]),
+ bugnumber="target var doesn't honour global namespace",
+ )
def test_shadowed_static_inline_members_xfail(self):
self.build()
lldbutil.run_to_name_breakpoint(self, "bar")
diff --git a/lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py b/lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
index a9059a9cfd5da4..7cb38ecd49c9dd 100644
--- a/lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
+++ b/lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
@@ -13,6 +13,7 @@
class TestCase(TestBase):
# int128 is not available on 32-bit ARM.
@skipIf(archs=["arm$"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_int128(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py b/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py
index 938fb1a6edf32c..79cfd83ac94d75 100644
--- a/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py
+++ b/lldb/test/API/lang/cpp/dereferencing_references/TestCPPDereferencingReferences.py
@@ -5,6 +5,7 @@
class TestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
"""Tests deferencing lvalue/rvalue references via LLDB's builtin type system."""
self.build()
diff --git a/lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py b/lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py
index a380d6bdcf53d1..d5c0365cf06ef8 100644
--- a/lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py
+++ b/lldb/test/API/lang/cpp/enum-limits/TestCPPEnumLimits.py
@@ -8,7 +8,6 @@
class CPPEnumLimitsTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def check_signed(self, ty: lldb.SBType, expected):
self.assertEqual(
diff --git a/lldb/test/API/lang/cpp/enum_promotion/TestCPPEnumPromotion.py b/lldb/test/API/lang/cpp/enum_promotion/TestCPPEnumPromotion.py
index f8375b49d96d77..2a73dc5357fe78 100644
--- a/lldb/test/API/lang/cpp/enum_promotion/TestCPPEnumPromotion.py
+++ b/lldb/test/API/lang/cpp/enum_promotion/TestCPPEnumPromotion.py
@@ -9,8 +9,6 @@
class TestCPPEnumPromotion(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py b/lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
index dfa9fbc1a42256..004955cd3b8599 100644
--- a/lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
+++ b/lldb/test/API/lang/cpp/expression-context-qualifiers/const_volatile_method/TestExprInConstVolatileMethod.py
@@ -6,8 +6,6 @@
@requireExpressionEvaluation
class TestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def test(self):
self.build()
(_, process, _, _) = lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/expression-context-qualifiers/fixit/TestExprInConstMethodWithFixit.py b/lldb/test/API/lang/cpp/expression-context-qualifiers/fixit/TestExprInConstMethodWithFixit.py
index fd9d9ad2a87ad8..80e657712a5257 100644
--- a/lldb/test/API/lang/cpp/expression-context-qualifiers/fixit/TestExprInConstMethodWithFixit.py
+++ b/lldb/test/API/lang/cpp/expression-context-qualifiers/fixit/TestExprInConstMethodWithFixit.py
@@ -5,8 +5,6 @@
class TestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def test(self):
self.build()
(_, process, _, _) = lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/extern_c/TestExternCSymbols.py b/lldb/test/API/lang/cpp/extern_c/TestExternCSymbols.py
index 8c757524d15319..81fe024960942a 100644
--- a/lldb/test/API/lang/cpp/extern_c/TestExternCSymbols.py
+++ b/lldb/test/API/lang/cpp/extern_c/TestExternCSymbols.py
@@ -2,5 +2,12 @@
from lldbsuite.test import decorators
lldbinline.MakeInlineTest(
- __file__, globals(), decorators=[decorators.skipIfWasm] # no expression evaluation
+ __file__,
+ globals(),
+ decorators=[
+ decorators.skipIfWasm, # no expression evaluation
+ decorators.expectedFailureAll(
+ debug_info=["pdb"], bugnumber="llvm.org/pr149498"
+ ),
+ ],
)
diff --git a/lldb/test/API/lang/cpp/floating-types-specialization/TestCppFloatingTypesSpecialization.py b/lldb/test/API/lang/cpp/floating-types-specialization/TestCppFloatingTypesSpecialization.py
index 5376e830eba8ac..041288767af50d 100644
--- a/lldb/test/API/lang/cpp/floating-types-specialization/TestCppFloatingTypesSpecialization.py
+++ b/lldb/test/API/lang/cpp/floating-types-specialization/TestCppFloatingTypesSpecialization.py
@@ -8,6 +8,7 @@
@requireNotWasm("_Float16/__bf16 are unsupported on the wasm target")
class TestCase(TestBase):
@skipIf(compiler="clang", compiler_version=["<", "17.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py b/lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py
index 57eeaa7c494e20..ca380f249ac48e 100644
--- a/lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py
+++ b/lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py
@@ -43,6 +43,7 @@ def do_test(self, dictionary=None):
result_children=[ValueCheck(value="47", name="a", type="int")],
)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.do_test()
diff --git a/lldb/test/API/lang/cpp/function-ref-qualifiers/TestCppFunctionRefQualifiers.py b/lldb/test/API/lang/cpp/function-ref-qualifiers/TestCppFunctionRefQualifiers.py
index 1ad852adfcad5b..c90fd96db8abaf 100644
--- a/lldb/test/API/lang/cpp/function-ref-qualifiers/TestCppFunctionRefQualifiers.py
+++ b/lldb/test/API/lang/cpp/function-ref-qualifiers/TestCppFunctionRefQualifiers.py
@@ -12,6 +12,7 @@
@requireExpressionEvaluation
class TestFunctionRefQualifiers(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/function_refs/TestFunctionRefs.py b/lldb/test/API/lang/cpp/function_refs/TestFunctionRefs.py
index 0cdd46e00c068a..c8308c16011e0c 100644
--- a/lldb/test/API/lang/cpp/function_refs/TestFunctionRefs.py
+++ b/lldb/test/API/lang/cpp/function_refs/TestFunctionRefs.py
@@ -1,4 +1,4 @@
from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
-lldbinline.MakeInlineTest(__file__, globals(), test_with_pdb_debug_info=True)
+lldbinline.MakeInlineTest(__file__, globals())
diff --git a/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py b/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py
index 9d964634adbbd3..d9189651bd42a5 100644
--- a/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py
+++ b/lldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py
@@ -11,6 +11,7 @@ def setUp(self):
TestBase.setUp(self)
self.source = lldb.SBFileSpec("main.cpp")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
diff --git a/lldb/test/API/lang/cpp/inline-namespace-in-typename/TestInlineNamespaceInTypename.py b/lldb/test/API/lang/cpp/inline-namespace-in-typename/TestInlineNamespaceInTypename.py
index 19681364466ce5..53a4e142c67e0d 100644
--- a/lldb/test/API/lang/cpp/inline-namespace-in-typename/TestInlineNamespaceInTypename.py
+++ b/lldb/test/API/lang/cpp/inline-namespace-in-typename/TestInlineNamespaceInTypename.py
@@ -1,9 +1,11 @@
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class TestInlineNamespaceInTypename(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
"""
Tests that we correctly omit the inline namespace when printing
diff --git a/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py b/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py
index 79e25595e4edeb..1145076080d14c 100644
--- a/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py
+++ b/lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py
@@ -6,8 +6,6 @@
@requireExpressionEvaluation
class TestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/namespace/TestNamespace.py b/lldb/test/API/lang/cpp/namespace/TestNamespace.py
index 36ce3eb8803e10..5546ab1ed9b54e 100644
--- a/lldb/test/API/lang/cpp/namespace/TestNamespace.py
+++ b/lldb/test/API/lang/cpp/namespace/TestNamespace.py
@@ -46,6 +46,7 @@ def test_breakpoints_func_auto(self):
)
@expectedFailureAll(bugnumber="llvm.org/pr28548", compiler="gcc")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_breakpoints_func_full(self):
"""Test that we can set breakpoints correctly by fullname to find all functions whose fully qualified name is "func"
(no namespaces)."""
@@ -75,6 +76,7 @@ def test_breakpoints_func_full(self):
"make sure breakpoint locations are correct for 'func' with eFunctionNameTypeFull",
)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_breakpoints_a_func_full(self):
"""Test that we can set breakpoints correctly by fullname to find all functions whose fully qualified name is "A::func"."""
self.build()
diff --git a/lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py b/lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py
index 84abb468a7f007..d651b15bed3a43 100644
--- a/lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py
+++ b/lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py
@@ -32,6 +32,7 @@ def do_test(self, debug_flags):
@skipIf(compiler=no_match("clang"))
@skipIf(compiler_version=["<", "15.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_simple_template_names(self):
self.do_test(dict(TEST_CFLAGS_EXTRAS="-gsimple-template-names"))
diff --git a/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py b/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py
index c61bdc9cb4ac39..e1c01ecf1181b0 100644
--- a/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py
+++ b/lldb/test/API/lang/cpp/nsimport/TestCppNsImport.py
@@ -8,6 +8,7 @@
class TestCppNsImport(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_with_run_command(self):
"""Tests imported namespaces in C++."""
self.build()
diff --git a/lldb/test/API/lang/cpp/operators/TestCppOperators.py b/lldb/test/API/lang/cpp/operators/TestCppOperators.py
index 21ba89e3867276..65b0e9a480cfb6 100644
--- a/lldb/test/API/lang/cpp/operators/TestCppOperators.py
+++ b/lldb/test/API/lang/cpp/operators/TestCppOperators.py
@@ -8,5 +8,4 @@
decorators.requireExpressionEvaluation,
decorators.expectedFailureAll(bugnumber="llvm.org/pr50814", compiler="gcc"),
],
- test_with_pdb_debug_info=True,
)
diff --git a/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py b/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
index 8263697f870ef0..bdd08369983794 100644
--- a/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
+++ b/lldb/test/API/lang/cpp/overloaded-functions/TestOverloadedFunctions.py
@@ -10,8 +10,6 @@
@requireExpressionEvaluation
class OverloadedFunctionsTestCase(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
-
def test_with_run_command(self):
"""Test that functions with the same name are resolved correctly"""
self.build()
diff --git a/lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py b/lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py
index f96bedf034ffa5..7c0e60ebec063c 100644
--- a/lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py
+++ b/lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py
@@ -11,6 +11,7 @@
class TestPreferredName(TestBase):
@skipIf(compiler="clang", compiler_version=["<", "16.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_frame_var(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "return", lldb.SBFileSpec("main.cpp"))
@@ -27,6 +28,7 @@ def test_frame_var(self):
self.expect("frame variable varFooInt", substrs=["Foo<BarInt>"])
@skipIf(compiler="clang", compiler_version=["<", "16.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_expr(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "return", lldb.SBFileSpec("main.cpp"))
diff --git a/lldb/test/API/lang/cpp/recursive_types/function-ptrs/TestRecursiveTypesFuncPtrs.py b/lldb/test/API/lang/cpp/recursive_types/function-ptrs/TestRecursiveTypesFuncPtrs.py
index 9a2824c8f163d7..b53d78878b7e7b 100644
--- a/lldb/test/API/lang/cpp/recursive_types/function-ptrs/TestRecursiveTypesFuncPtrs.py
+++ b/lldb/test/API/lang/cpp/recursive_types/function-ptrs/TestRecursiveTypesFuncPtrs.py
@@ -11,6 +11,7 @@
class TestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build_and_run()
diff --git a/lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py b/lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py
index a6e419b7fcdfa2..202876c1c3da11 100644
--- a/lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py
+++ b/lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py
@@ -1,4 +1,3 @@
-import unittest
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
@@ -6,7 +5,8 @@
class TestCase(TestBase):
- @unittest.expectedFailure # The fix for this was reverted due to llvm.org/PR52257
+ # The fix for this was reverted due to llvm.org/PR52257
+ @expectedFailureAll(debug_info=no_match(["pdb"]))
def test(self):
self.build()
self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
diff --git a/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py b/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py
index 2a5c9bb1bd766f..aaff4a55f15260 100644
--- a/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py
+++ b/lldb/test/API/lang/cpp/signed_types/TestSignedTypes.py
@@ -18,7 +18,10 @@ def setUp(self):
self.line = line_number(self.source, "// Set break point at this line.")
@expectedFailureAll(
- oslist=["windows"], archs=["i[3-6]86", "x86_64"], bugnumber="llvm.org/pr24489"
+ oslist=["windows"],
+ debug_info=no_match(["pdb"]),
+ archs=["i[3-6]86", "x86_64"],
+ bugnumber="llvm.org/pr24489",
)
def test(self):
"""Test that variables with signed types display correctly."""
diff --git a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
index 5f64a29d2cbf8a..96ab6b498c27dc 100644
--- a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
+++ b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
@@ -11,7 +11,7 @@
class TestCase(TestBase):
# We fail to lookup static members on Windows.
- @expectedFailureAll(oslist=["windows"])
+ @expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
@requireExpressionEvaluation
def test_access_from_main(self):
self.build()
@@ -24,7 +24,7 @@ def test_access_from_main(self):
self.expect_expr("my_a.s_c", result_type="int", result_value="3")
# We fail to lookup static members on Windows.
- @expectedFailureAll(oslist=["windows"])
+ @expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
@requireExpressionEvaluation
def test_access_from_member_function(self):
self.build()
@@ -47,7 +47,7 @@ def test_access_without_scope(self):
)
# We fail to lookup static members on Windows.
- @expectedFailureAll(oslist=["windows"])
+ @expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
@requireExpressionEvaluation
def test_no_crash_in_IR_arithmetic(self):
"""
diff --git a/lldb/test/API/lang/cpp/step-through-trampoline/TestStepThroughTrampoline.py b/lldb/test/API/lang/cpp/step-through-trampoline/TestStepThroughTrampoline.py
index 732c3660b6bfda..2fb08e5de0b24b 100644
--- a/lldb/test/API/lang/cpp/step-through-trampoline/TestStepThroughTrampoline.py
+++ b/lldb/test/API/lang/cpp/step-through-trampoline/TestStepThroughTrampoline.py
@@ -6,6 +6,7 @@
@skipIfTargetDoesNotSupportSharedLibraries()
class StepThroughTrampoline(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
(target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/stl/TestSTL.py b/lldb/test/API/lang/cpp/stl/TestSTL.py
index ee4f04661610f9..8f7402f14eb928 100644
--- a/lldb/test/API/lang/cpp/stl/TestSTL.py
+++ b/lldb/test/API/lang/cpp/stl/TestSTL.py
@@ -34,6 +34,7 @@ def test(self):
bugnumber="ICC (13.1, 14-beta) do not emit DW_TAG_template_type_parameter.",
)
@add_test_categories(["pyapi"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_SBType_template_aspects(self):
"""Test APIs for getting template arguments from an SBType."""
self.build()
diff --git a/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py b/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py
index 882c91d1ce8c85..92cb1a4908a033 100644
--- a/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py
+++ b/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py
@@ -7,6 +7,7 @@
class TestStructuredBinding(TestBase):
@skipIf(oslist=["linux"], archs=["arm$"])
@skipIf(compiler="clang", compiler_version=["<", "14.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py b/lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py
index cdc8211bcd636a..e24acbedbaf2d7 100644
--- a/lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py
+++ b/lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py
@@ -8,6 +8,7 @@
class TemplateSpecializationTypeTestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_template_specialization_cast_children(self):
self.build()
lldbutil.run_to_source_breakpoint(
diff --git a/lldb/test/API/lang/cpp/template/TestTemplateArgs.py b/lldb/test/API/lang/cpp/template/TestTemplateArgs.py
index 1a8ff0f414031c..fed11f601216e3 100644
--- a/lldb/test/API/lang/cpp/template/TestTemplateArgs.py
+++ b/lldb/test/API/lang/cpp/template/TestTemplateArgs.py
@@ -14,7 +14,6 @@
@skipIfWasm # no expression evaluation
class TemplateArgsTestCase(TestBase):
SHARED_BUILD_TESTCASE = False
- TEST_WITH_PDB_DEBUG_INFO = True
def prepareProcess(self):
self.build()
diff --git a/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py b/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py
index 65b74e4782da1e..3ba228079714dc 100644
--- a/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py
+++ b/lldb/test/API/lang/cpp/typedef/TestCppTypedef.py
@@ -10,6 +10,7 @@
@requireExpressionEvaluation
class TestCppTypedef(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_typedef(self):
"""
Test that we retrieve typedefed types correctly
diff --git a/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py b/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
index 8317bb299d4076..4ec60318768bdb 100644
--- a/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
+++ b/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
@@ -33,7 +33,7 @@ def test_print_union(self):
result_children=[ValueCheck(name="val", value="137")],
)
- @expectedFailureWindows
+ @expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
def test_expr_union_static_members(self):
"""Tests that frame variable and expr work
for union static data members"""
diff --git a/lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py b/lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py
index defb41cd8bcacf..2456744b9760bb 100644
--- a/lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py
+++ b/lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py
@@ -147,10 +147,12 @@ def do_test(self, debug_flags):
@skipIf(compiler=no_match("clang"))
@skipIf(compiler_version=["<", "15.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_simple_template_names(self):
self.do_test(dict(CFLAGS_EXTRAS="-gsimple-template-names"))
@skipIf(compiler=no_match("clang"))
@skipIf(compiler_version=["<", "15.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_no_simple_template_names(self):
self.do_test(dict(CFLAGS_EXTRAS="-gno-simple-template-names"))
diff --git a/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py b/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py
index 4796c849666754..9e6206fad7307c 100644
--- a/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py
+++ b/lldb/test/API/lang/cpp/unsigned_types/TestUnsignedTypes.py
@@ -10,6 +10,7 @@
class UnsignedTypesTestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
"""Test that variables with unsigned types display correctly."""
self.build()
diff --git a/lldb/test/API/lang/mixed/TestMixedLanguages.py b/lldb/test/API/lang/mixed/TestMixedLanguages.py
index d7ab89e89ab7fe..e63c2fb565a310 100644
--- a/lldb/test/API/lang/mixed/TestMixedLanguages.py
+++ b/lldb/test/API/lang/mixed/TestMixedLanguages.py
@@ -3,10 +3,12 @@
import re
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
class MixedLanguagesTestCase(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_language_of_frame(self):
"""Test that the language defaults to the language of the current frame."""
self.build()
diff --git a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py
index fe474ef5a8fd79..96fe8667e0d292 100644
--- a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py
+++ b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py
@@ -72,6 +72,7 @@ def find_main_compile_unit(self) -> lldb.SBCompileUnit:
self.assertTrue(main_cu.IsValid(), "Main executable CU is not valid")
return main_cu
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_is_optimized(self):
"""A compile unit built with optimization reports it."""
self.build(dictionary={"CFLAGS_EXTRAS": "-O1"})
diff --git a/lldb/test/API/python_api/frame/get-variables/TestGetVariables.py b/lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
index 782edfa3c5e0d7..d0e1d71f86f0a5 100644
--- a/lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
+++ b/lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
@@ -37,6 +37,7 @@ def verify_variable_names(self, description, value_list, names):
% (description, copy_names, actual_names),
)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
diff --git a/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py b/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
index dd53b6e5d4b779..6f449d2c344584 100644
--- a/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
+++ b/lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
@@ -21,6 +21,7 @@ def setUp(self):
self.source, "// This should correspond to the second break stop."
)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_stop_at_outer_inline(self):
"""Exercise SBFrame.IsInlined() and SBFrame.GetFunctionName()."""
self.build()
diff --git a/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py b/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
index bd5623da98d98d..c4dbb2be271131 100644
--- a/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
+++ b/lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
@@ -20,7 +20,9 @@ def setUp(self):
"main.c", "// Find the line number for breakpoint 2 here."
)
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21765")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr21765"
+ )
def test(self):
"""Exercise getting SBAddress objects, disassembly, and SBAddress APIs."""
self.build()
diff --git a/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py b/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
index 309e3796dbd48d..044a466257fedd 100644
--- a/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
+++ b/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
@@ -20,7 +20,9 @@ def setUp(self):
"main.c", "// Find the line number for breakpoint 2 here."
)
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21765")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr21765"
+ )
def test(self):
"""Exercise some SBSymbol and SBAddress APIs."""
self.build()
diff --git a/lldb/test/API/python_api/sbmodule/FindTypes/TestSBModuleFindTypes.py b/lldb/test/API/python_api/sbmodule/FindTypes/TestSBModuleFindTypes.py
index 5c3d2b4187ddff..7faf829bfe03dc 100644
--- a/lldb/test/API/python_api/sbmodule/FindTypes/TestSBModuleFindTypes.py
+++ b/lldb/test/API/python_api/sbmodule/FindTypes/TestSBModuleFindTypes.py
@@ -7,6 +7,7 @@
class TestSBModuleFindTypes(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_lookup_in_template_scopes(self):
self.build()
spec = lldb.SBModuleSpec()
diff --git a/lldb/test/API/python_api/symbol-context/TestSymbolContext.py b/lldb/test/API/python_api/symbol-context/TestSymbolContext.py
index ccea9336958ee6..806fdceae271e8 100644
--- a/lldb/test/API/python_api/symbol-context/TestSymbolContext.py
+++ b/lldb/test/API/python_api/symbol-context/TestSymbolContext.py
@@ -17,7 +17,9 @@ def setUp(self):
"main.c", '// Find the line number of function "c" here.'
)
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr24778"
+ )
def test(self):
"""Exercise SBSymbolContext API extensively."""
self.build()
diff --git a/lldb/test/API/python_api/target/TestTargetAPI.py b/lldb/test/API/python_api/target/TestTargetAPI.py
index e4e2df57f15131..edc716ac7e06b2 100644
--- a/lldb/test/API/python_api/target/TestTargetAPI.py
+++ b/lldb/test/API/python_api/target/TestTargetAPI.py
@@ -57,7 +57,9 @@ def test_get_description(self):
self.build()
self.get_description()
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21765")
+ @expectedFailureAll(
+ oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr21765"
+ )
def test_resolve_symbol_context_with_address(self):
"""Exercise SBTarget.ResolveSymbolContextForAddress() API."""
self.build()
diff --git a/lldb/test/API/python_api/type/TestTypeList.py b/lldb/test/API/python_api/type/TestTypeList.py
index b256992a9549f9..dc48fe99c5ce14 100644
--- a/lldb/test/API/python_api/type/TestTypeList.py
+++ b/lldb/test/API/python_api/type/TestTypeList.py
@@ -74,6 +74,7 @@ def _find_static_field_in_Task_pointer(self, task_pointer):
self.assertFalse(static_mutable_field.GetConstantValue(self.target()))
@skipIf(compiler="clang", compiler_version=["<", "17.0"])
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
"""Exercise SBType and SBTypeList API."""
d = {"EXE": self.exe_name}
@@ -275,6 +276,7 @@ def test(self):
self.DebugSBType(int_enum_uchar)
self.assertEqual(int_enum_uchar.GetName(), "unsigned char")
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_nested_typedef(self):
"""Exercise FindDirectNestedType for typedefs."""
self.build()
@@ -332,6 +334,7 @@ def test_dynamic_values(self):
self.assertTrue(get_function_type.is_function)
self.assertFalse(get_function_type.is_reference)
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_GetByteAlign(self):
"""Exercise SBType::GetByteAlign"""
self.build()
diff --git a/lldb/test/API/python_api/value/change_ptr/TestChangePtr.py b/lldb/test/API/python_api/value/change_ptr/TestChangePtr.py
index 92c0e06c229c08..294330b3ccac11 100644
--- a/lldb/test/API/python_api/value/change_ptr/TestChangePtr.py
+++ b/lldb/test/API/python_api/value/change_ptr/TestChangePtr.py
@@ -6,6 +6,7 @@
class ChangePtrTest(TestBase):
@skipIfWasm # the test checks the address of a persistent expression result
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test(self):
self.build()
diff --git a/lldb/test/API/python_api/value/value_wrap/TestValueAPIWrapper.py b/lldb/test/API/python_api/value/value_wrap/TestValueAPIWrapper.py
index 291119815d4033..25342a4cfe07ba 100644
--- a/lldb/test/API/python_api/value/value_wrap/TestValueAPIWrapper.py
+++ b/lldb/test/API/python_api/value/value_wrap/TestValueAPIWrapper.py
@@ -3,11 +3,13 @@
"""
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class ValueAPIWrapper(TestBase):
+ @expectedFailureAll(debug_info=["pdb"], bugnumber="llvm.org/pr149498")
def test_accessors(self):
"""Test non-modifying operators (e.g. __getitem__, __add__)."""
self.build()
diff --git a/lldb/test/API/symstore/TestSymStore.py b/lldb/test/API/symstore/TestSymStore.py
index 58db4e70a9aff2..0e59ed6b91dca7 100644
--- a/lldb/test/API/symstore/TestSymStore.py
+++ b/lldb/test/API/symstore/TestSymStore.py
@@ -247,7 +247,6 @@ def log_message(self, *args):
class SymStoreTests(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
# Build artifacts can't be shared across test functions because
# MockedSymStore moves the built PDB out of the build directory to simulate
# it being absent from the normal lookup path.
diff --git a/lldb/test/API/test_utils/pdb/TestPdb.py b/lldb/test/API/test_utils/pdb/TestPdb.py
index 7475759324a8d9..d3e98c6f52b3fc 100644
--- a/lldb/test/API/test_utils/pdb/TestPdb.py
+++ b/lldb/test/API/test_utils/pdb/TestPdb.py
@@ -7,7 +7,6 @@
class TestBuildMethod(TestBase):
- TEST_WITH_PDB_DEBUG_INFO = True
SHARED_BUILD_TESTCASE = False
def test(self):
More information about the lldb-commits
mailing list