If the "CodeView" module flag is set, emit codeview instead of DWARF
authorReid Kleckner <rnk@google.com>
Wed, 5 Aug 2015 22:26:20 +0000 (22:26 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 5 Aug 2015 22:26:20 +0000 (22:26 +0000)
commitdefbd1fbf107a4503f4815a982700674d3f161e6
tree8f217b8195e5a95dd8af41dfcdaeed3218ae58bc
parenta41742659a7862cd60082b7419f511d06d1db37f
If the "CodeView" module flag is set, emit codeview instead of DWARF

Summary:
Emit both DWARF and CodeView if "CodeView" and "Dwarf Version" module
flags are set.

Reviewers: majnemer

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244158 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/IR/Module.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/IR/Module.cpp
test/DebugInfo/COFF/asan-module-ctor.ll
test/DebugInfo/COFF/asan-module-without-functions.ll
test/DebugInfo/COFF/asm.ll
test/DebugInfo/COFF/cpp-mangling.ll
test/DebugInfo/COFF/multifile.ll
test/DebugInfo/COFF/multifunction.ll
test/DebugInfo/COFF/simple.ll
test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll
test/DebugInfo/X86/coff_debug_info_type.ll
test/MC/ARM/coff-debugging-secrel.ll