[Lldb-commits] [lldb] [lldb] Preserve original symbol of Mangled function names (PR #152201)

via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 5 14:27:24 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

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

``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp -- lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp lldb/test/API/lang/cpp/extern_c/main.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/test/API/lang/cpp/extern_c/main.cpp b/lldb/test/API/lang/cpp/extern_c/main.cpp
index 0fe262c86..992e81323 100644
--- a/lldb/test/API/lang/cpp/extern_c/main.cpp
+++ b/lldb/test/API/lang/cpp/extern_c/main.cpp
@@ -8,8 +8,9 @@ extern "C"
 
 int foo()
 {
-    puts("foo"); //% self.expect("image lookup -v -a $pc", substrs=['mangled = "foo"'])
-    return 2;
+  puts("foo"); //% self.expect("image lookup -v -a $pc", substrs=['mangled =
+               //"foo"'])
+  return 2;
 }
 
 int main (int argc, char const *argv[], char const *envp[])

``````````

</details>


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


More information about the lldb-commits mailing list