[PATCH] D47811: [PATCH] [DWARF] Kotlin language

Vasily Levchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 01:23:28 PDT 2018


vvlevchenko created this revision.
Herald added a reviewer: deadalnix.
Herald added subscribers: llvm-commits, JDevlieghere, aprantl.

Patch adds a DWARF language tag for Kotlin.
The language is intended to be added to the next version of the standard.
See http://www.dwarfstd.org/ShowIssue.php?issue=170503.1


Repository:
  rL LLVM

https://reviews.llvm.org/D47811

Files:
  include/llvm-c/DebugInfo.h
  include/llvm/BinaryFormat/Dwarf.def


Index: include/llvm/BinaryFormat/Dwarf.def
===================================================================
--- include/llvm/BinaryFormat/Dwarf.def
+++ include/llvm/BinaryFormat/Dwarf.def
@@ -662,6 +662,7 @@
 HANDLE_DW_LANG(0x0023, Fortran08, 5, DWARF)
 HANDLE_DW_LANG(0x0024, RenderScript, 5, DWARF)
 HANDLE_DW_LANG(0x0025, BLISS, 5, DWARF)
+HANDLE_DW_LANG(0x0026, Kotlin, 5, DWARF)
 // Vendor extensions:
 HANDLE_DW_LANG(0x8001, Mips_Assembler, 0, MIPS)
 HANDLE_DW_LANG(0x8e57, GOOGLE_RenderScript, 0, GOOGLE)
Index: include/llvm-c/DebugInfo.h
===================================================================
--- include/llvm-c/DebugInfo.h
+++ include/llvm-c/DebugInfo.h
@@ -106,6 +106,7 @@
   LLVMDWARFSourceLanguageFortran08,
   LLVMDWARFSourceLanguageRenderScript,
   LLVMDWARFSourceLanguageBLISS,
+  LLVMDWARFSourceLanguageKotlin,
   // Vendor extensions:
   LLVMDWARFSourceLanguageMips_Assembler,
   LLVMDWARFSourceLanguageGOOGLE_RenderScript,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47811.149985.patch
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180606/02db8e31/attachment.bin>


More information about the llvm-commits mailing list