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

Vasily Levchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 04:22:31 PDT 2018


vvlevchenko added a comment.

In https://reviews.llvm.org/D47811#1269475, @probinson wrote:

> It would be safer if we came up with an LLVM extension range for language constants (assuming the DWARF committee doesn't change the process for assigning language constants).  It will be years before DWARF v6 comes out and there is a very reasonable chance that the numbers won't match.
>  I'd rather we don't ship any LLVM that could emit an incorrect language code.


Just for my understanding. You suggest to put Kotlin under vendor extension? with id in range DW_LANG_lo_user ... DW_LANG_hi_user. If so who will choose the number? and what supposed to be the last two parameters HANDLE_DW_LANG(..., Kotlin, ) in this case?


https://reviews.llvm.org/D47811





More information about the llvm-commits mailing list