[Lldb-commits] [lldb] [lldb][tests] Fix TestStdCXXDisassembly test when running on the remote Linux targets. (PR #93649)

via lldb-commits lldb-commits at lists.llvm.org
Tue May 28 21:49:56 PDT 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 cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75...741f69159b88c208ec0848b9c6d97be78f64383f lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
``````````

</details>

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

``````````diff
--- TestStdCXXDisassembly.py	2024-05-29 04:45:10.000000 +0000
+++ TestStdCXXDisassembly.py	2024-05-29 04:49:31.877680 +0000
@@ -41,13 +41,11 @@
                 break
 
         # At this point, lib_stdcxx is the full path to the stdc++ library and
         # module is the corresponding SBModule.
 
-        self.expect(
-            lib_stdcxx, "Library StdC++ is located", exe=False, substrs=["lib"]
-        )
+        self.expect(lib_stdcxx, "Library StdC++ is located", exe=False, substrs=["lib"])
 
         self.runCmd("image dump symtab '%s'" % lib_stdcxx)
         raw_output = self.res.GetOutput()
         # Now, look for every 'Code' symbol and feed its load address into the
         # command: 'disassemble -s load_address -e end_address', where the

``````````

</details>


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


More information about the lldb-commits mailing list