================ @@ -0,0 +1,39 @@ +""" +Test lldb behaves sanely when formatting corrupted `std::string`s. +""" + +import lldb +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * +from lldbsuite.test import lldbutil + + +class LibcxxInvalidStringDataFormatterTestCase(TestBase): + @add_test_categories(["libc++"]) + @skipUnlessDarwin + @skipIf(archs=no_match(["arm"])) + def test(self): + self.build() + + (target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint( + self, "Set break point at this line.", lldb.SBFileSpec("main.cpp") + ) + frame = thread.frames[0] + + if not self.process().GetAddressByteSize() == 8: + self.skip() ---------------- Michael137 wrote:
Should probably just adjust the "archs" check to "arm64", instead of checking address size https://github.com/llvm/llvm-project/pull/147252 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits