Add Swift enumerator value for CodeView::SourceLanguage
authorNathan Lanza <nathan@lanza.io>
Mon, 11 Mar 2019 23:27:59 +0000 (23:27 +0000)
committerNathan Lanza <nathan@lanza.io>
Mon, 11 Mar 2019 23:27:59 +0000 (23:27 +0000)
commitcc51dc649abac6a5404eae91dc9be56eeda4d611
tree457fc9c751022007582c33ca77c984c110b82805
parenteae78b5157dc0582cf32710d2ade9bbcd7f0fc94
Add Swift enumerator value for CodeView::SourceLanguage

Summary:
Swift now generates PDBs for debugging on Windows. llvm and lldb
need a language enumerator value too properly handle the output
emitted by swiftc.

Subscribers: jdoerfert, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D59231

llvm-svn: 355882
llvm/include/llvm/DebugInfo/CodeView/CodeView.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/DebugInfo/CodeView/EnumTables.cpp
llvm/lib/DebugInfo/PDB/PDBExtras.cpp
llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp
llvm/test/DebugInfo/COFF/swift.ll [new file with mode: 0644]
llvm/tools/llvm-pdbutil/MinimalSymbolDumper.cpp