Add -gcodeview and -gdwarf to control which type Clang emits
authorReid Kleckner <reid@kleckner.net>
Wed, 5 Aug 2015 18:51:13 +0000 (18:51 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 5 Aug 2015 18:51:13 +0000 (18:51 +0000)
commit124955aade67bb0455a8c0dc1f01d86b265ef277
tree3a2e5625ea970deabec9e390df20e2566732bbe8
parentb2fda0d95ca1d27b1f6b1707685bd0f3fd8789d9
Add -gcodeview and -gdwarf to control which type Clang emits

Summary:
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.

Reviewers: dblaikie, hans

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D11742

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