[Lldb-commits] [lldb] [lldb] Expose structured errors in SBError (PR #120784)

via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 20 10:57:27 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r 8c0090030bf89df7e0dbe5827a83d52627b2c87f...88f6c19a87e82f1cc0c589029d8eb288ec53eaba lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py lldb/test/API/commands/frame/var/TestFrameVar.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- frame/var/TestFrameVar.py	2024-12-20 18:53:37.000000 +0000
+++ frame/var/TestFrameVar.py	2024-12-20 18:56:55.557137 +0000
@@ -129,11 +129,10 @@
         self.assertEqual(err_ty.GetIntegerValue(), lldb.eErrorTypeGeneric)
         message = str(data.GetValueForKey("errors").GetItemAtIndex(0))
         for s in error_strings:
             self.assertIn(s, message)
 
-            
     @skipIfRemote
     @skipUnlessDarwin
     def test_darwin_dwarf_missing_obj(self):
         """
         Test that if we build a binary with DWARF in .o files and we remove

``````````

</details>


https://github.com/llvm/llvm-project/pull/120784


More information about the lldb-commits mailing list