[PATCH] D11742: Add -gcodeview and -gdwarf to control which type Clang emits

Reid Kleckner rnk at google.com
Mon Aug 3 17:06:49 PDT 2015


rnk created this revision.
rnk added reviewers: dblaikie, hans.
rnk added a subscriber: cfe-commits.

By default, 'clang' emits dwarf and 'clang-cl' emits codeview.  You can
force emission of one or both by passing -gcodeview and -gdwarf to
either driver.

http://reviews.llvm.org/D11742

Files:
  include/clang/Driver/CLCompatOptions.td
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/CodeGenModule.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/dwarf-version.c
  test/Driver/cl-options.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11742.31287.patch
Type: text/x-patch
Size: 8117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150804/75d7c50f/attachment.bin>


More information about the cfe-commits mailing list