[PATCH] D58415: Add Swift enumerator value for CodeView::SourceLanguage

Nathan Lanza via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 19 15:47:45 PST 2019


lanza created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
lanza added reviewers: compnerd, zturner, rnk.

Swift now generates PDBs for debugging on Windows. llvm and lldb
need a language type to properly handle the output emitted by swiftc.


Repository:
  rL LLVM

https://reviews.llvm.org/D58415

Files:
  include/llvm/DebugInfo/CodeView/CodeView.h


Index: include/llvm/DebugInfo/CodeView/CodeView.h
===================================================================
--- include/llvm/DebugInfo/CodeView/CodeView.h
+++ include/llvm/DebugInfo/CodeView/CodeView.h
@@ -158,6 +158,7 @@
   JScript = 0x0e,
   MSIL = 0x0f,
   HLSL = 0x10,
+  Swift = 0x11,
 
   /// The DMD compiler emits 'D' for the CV source language. Microsoft doesn't
   /// have an enumerator for it yet.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58415.187464.patch
Type: text/x-patch
Size: 420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190219/ecf40039/attachment.bin>


More information about the llvm-commits mailing list