[clang] [llvm] [dyndbg][Clang] Implement nested-ELF dynamic debugging support (PR #216307)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 16 04:42:17 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 cpp,h,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-tail-pad.c clang/test/DebugInfo/DynamicDebugging/attr-outer.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 llvm/include/llvm/Transforms/Utils/ModuleUtils.h llvm/lib/Transforms/Utils/ModuleUtils.cpp --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/include/clang/Basic/CodeGenOptions.h b/clang/include/clang/Basic/CodeGenOptions.h
index c0c944278..babc5cf76 100644
--- a/clang/include/clang/Basic/CodeGenOptions.h
+++ b/clang/include/clang/Basic/CodeGenOptions.h
@@ -399,7 +399,7 @@ public:
 
   /// Prefix to use for -save-dynamic-debugging-temps output.
   std::string SaveDynDbgTempsFilePrefix;
-  
+
   /// Name of file passed with -foffload-include-binary option to forward to
   /// offloading runtime back-end for incorporating them into host-side object
   /// file.

``````````

</details>


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


More information about the llvm-commits mailing list