[Lldb-commits] [lldb] [lldb] DWARFDIE: Follow DW_AT_specification when computing CompilerCo… (PR #77157)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 5 15:19:19 PST 2024
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 93d2e49b6aa6904620a7e9b559c04ec8756dc596 7f759420236078c01bec7c1b8a9673c74343be98 -- lldb/include/lldb/Core/Module.h lldb/source/Core/Module.cpp lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-function.cpp lldb/tools/lldb-test/lldb-test.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index 4d2fa18c55..3ddf551a56 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -865,7 +865,7 @@ void Module::FindFunctions(llvm::ArrayRef<CompilerContext> compiler_ctx,
ConstString name = compiler_ctx.back().name;
CompilerDeclContext dc;
SymbolContextList unfiltered;
- FindFunctions(name, dc,name_type_mask, options, unfiltered);
+ FindFunctions(name, dc, name_type_mask, options, unfiltered);
// Filter by context.
for (auto sc : unfiltered)
if (sc.function && compiler_ctx.equals(sc.function->GetCompilerContext()))
``````````
</details>
https://github.com/llvm/llvm-project/pull/77157
More information about the lldb-commits
mailing list