================
@@ -19,6 +19,21 @@ def getFormatted(self, format, expr):
self.assertTrue(result.Succeeded(), result.GetError())
return result.GetOutput()
+ @no_debug_info_test
+ @skipIfWindows
+ def testAllPlatforms(self):
+ self.build()
+ lldbutil.run_to_source_breakpoint(
+ self, "// break here", lldb.SBFileSpec("main.cpp")
+ )
+ # We can dump correctly non char* c-strings with explicit formatting.
+ self.assertIn(' = ""', self.getFormatted("c-string",
"void_empty_cstring"))
----------------
walter-erquinigo wrote:
We could, but I was just following the pattern that is already being used in
that test file. I don't think it's worth deviating from that.
https://github.com/llvm/llvm-project/pull/68924
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits