[clang] [dyndbg][Clang] Implement nested-ELF dynamic debugging support (PR #194860)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 29 06:36:14 PDT 2026
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 origin/main HEAD --extensions h,cpp,c -- clang/test/DebugInfo/DynamicDebugging/EndToEnd/X86/globalopt.c clang/test/DebugInfo/DynamicDebugging/EndToEnd/X86/obj-emission-target/no-target.c clang/test/DebugInfo/DynamicDebugging/EndToEnd/X86/section.c clang/test/DebugInfo/DynamicDebugging/attr-outer-no-specialization.c clang/test/DebugInfo/DynamicDebugging/attr-outer-tail-pad-unsupported.c clang/test/DebugInfo/DynamicDebugging/attr-outer-tail-pad.c clang/test/DebugInfo/DynamicDebugging/compiler-used.cpp clang/test/DebugInfo/DynamicDebugging/embed.c clang/test/DebugInfo/DynamicDebugging/inner-attrs.c clang/test/DebugInfo/DynamicDebugging/profile-coverage.c clang/test/DebugInfo/DynamicDebugging/symbols-functions.cpp clang/test/DebugInfo/DynamicDebugging/symbols-globals.cpp clang/test/DebugInfo/DynamicDebugging/symbols-internal-comdat.cpp clang/test/Driver/dynamic-debugging-flags.c clang/include/clang/Basic/CodeGenOptions.h clang/lib/CodeGen/BackendUtil.cpp clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Frontend/CompilerInvocation.cpp clang/test/Misc/warning-flags.c --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index 7920d1d25..72c3ba96c 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/lib/CodeGen/BackendUtil.cpp
@@ -1473,7 +1473,6 @@ void clang::emitBackendOutput(CompilerInstance &CI, CodeGenOptions &CGOpts,
}
}
-
bool EnableDynamicDebugging = CGOpts.DynamicDebugging;
// Disable dyndbg if the target isn't available as we're compiling to the
// inner module to object regardless of other options. (This may change).
``````````
</details>
https://github.com/llvm/llvm-project/pull/194860
More information about the cfe-commits
mailing list