[PATCH] D69822: [clang] Add new -fdebug-default-version flag.

Caroline Tice via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 4 13:19:15 PST 2019


cmtice created this revision.
cmtice added a reviewer: dblaikie.
Herald added subscribers: cfe-commits, fedor.sergeev, aprantl.
Herald added a project: clang.

Want to decouple setting the DWARF version from enabling/disabling generation of debug info.  This adds a new flag  '-fdebug-default-version=N' that sets the version of DWARF to be generated, but does not turn on/off debug info generation.


Repository:
  rC Clang

https://reviews.llvm.org/D69822

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/lib/Driver/ToolChains/CommonArgs.h
  clang/test/CodeGen/debug-default-version.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69822.227768.patch
Type: text/x-patch
Size: 8015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191104/c437a9c4/attachment-0001.bin>


More information about the cfe-commits mailing list