[Lldb-commits] [lldb] [lldb] Improve identification of Dlang mangled names (PR #93881)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 30 14:23:22 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 f795853d1f77bff69c3805f75e54fa7a32cc23d9...21a61a1a5ae68fc1e913f73c4311258675990f95 lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestCNonMangled.py 2024-05-30 21:19:48.000000 +0000
+++ TestCNonMangled.py 2024-05-30 21:22:59.864253 +0000
@@ -1,11 +1,10 @@
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.lldbtest import *
class TestCase(TestBase):
-
def test_functions_having_dlang_mangling_prefix(self):
"""
Ensure C functions with a '_D' prefix alone are not mistakenly treated
as a Dlang mangled name. A proper Dlang mangling will have digits
immediately following the '_D' prefix.
``````````
</details>
https://github.com/llvm/llvm-project/pull/93881
More information about the lldb-commits
mailing list