[PATCH] D136707: [clang][Toolchains][Gnu] pass -gdwarf-* through to assembler
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 25 11:39:02 PDT 2022
nickdesaulniers added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4206-4214
// If a -gdwarf argument appeared, remember it.
const Arg *GDwarfN = getDwarfNArg(Args);
bool EmitDwarf = false;
if (GDwarfN) {
if (checkDebugInfoOption(GDwarfN, Args, D, TC))
EmitDwarf = true;
else
----------------
I might be able to elide this/move/refactor this as well...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136707/new/
https://reviews.llvm.org/D136707
More information about the cfe-commits
mailing list