[Lldb-commits] [lldb] [lldb] Fix type lookup in DWARF .o files via debug map (PR #87177)
via lldb-commits
lldb-commits at lists.llvm.org
Sat Mar 30 21:00:29 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 a67b9326cd0448072a1192951f12f3927f31af8c...70938a5d70d3d1e861fd8439bd01ebf737252329 lldb/test/API/functionalities/type_find_first/TestFindFirstType.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestFindFirstType.py 2024-03-31 02:26:14.000000 +0000
+++ TestFindFirstType.py 2024-03-31 04:00:07.626963 +0000
@@ -30,9 +30,9 @@
for api in [target, exe_module]:
integer_type = api.FindFirstType("Integer::Point")
self.assertTrue(integer_type.IsValid())
float_type = api.FindFirstType("Float::Point")
self.assertTrue(float_type.IsValid())
- external_type = api.FindFirstType("OtherCompilationUnit::Type");
+ external_type = api.FindFirstType("OtherCompilationUnit::Type")
self.assertTrue(external_type.IsValid())
- nonexistent_type = api.FindFirstType("NonexistentType");
+ nonexistent_type = api.FindFirstType("NonexistentType")
self.assertFalse(nonexistent_type.IsValid())
``````````
</details>
https://github.com/llvm/llvm-project/pull/87177
More information about the lldb-commits
mailing list