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

Nathan Lanza via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 20 12:52:57 PST 2019


lanza updated this revision to Diff 187658.
lanza added a comment.
Herald added a subscriber: jdoerfert.

shobot


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58415/new/

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
@@ -159,9 +159,10 @@
   MSIL = 0x0f,
   HLSL = 0x10,
 
-  /// The DMD compiler emits 'D' for the CV source language. Microsoft doesn't
-  /// have an enumerator for it yet.
+  /// The DMD & Swift compilers emit 'D' and 'S', respectively, for the CV
+  /// source language. Microsoft does not have enumerators for them yet.
   D = 'D',
+  Swift = 'S',
 };
 
 /// These values correspond to the CV_call_e enumeration, and are documented


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58415.187658.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190220/20a695b3/attachment.bin>


More information about the llvm-commits mailing list