[PATCH] D90507: Adding DWARF64 clang flag: -gdwarf64
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 18 14:16:02 PST 2020
ayermolo added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4020
+ const Arg *A = Args.getLastArg(options::OPT_gdwarf64);
+ const llvm::Triple &RawTriple = TC.getTriple();
+ if (DWARFVersion < 3)
----------------
MaskRay wrote:
> The variable is only used once. Inline it
Both A, and RawTriple are used more than once.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90507/new/
https://reviews.llvm.org/D90507
More information about the llvm-commits
mailing list