[PATCH] D90507: [Driver] Add DWARF64 flag: -gdwarf64
Igor Kudrin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 20 21:05:13 PST 2020
ikudrin added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4016
+ auto *dwarfArgs =
+ Args.getLastArg(options::OPT_gdwarf64, options::OPT_gdwarf32);
----------------
Maybe make this more descriptive?
================
Comment at: clang/test/Driver/debug-options.c:391
+// GDWARF64_ON: "-gdwarf64"
+// GDWARF64_OFF: error: invalid argument '-gdwarf64' only allowed with 'DWARFv3 or greater'
+// GDWARF64_32ARCH: error: invalid argument '-gdwarf64' only allowed with '64 bit architecture'
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90507/new/
https://reviews.llvm.org/D90507
More information about the cfe-commits
mailing list