[lldb][Language] Add more language types
authorMichael Buch <michaelbuch12@gmail.com>
Wed, 1 Feb 2023 03:58:05 +0000 (03:58 +0000)
committerMichael Buch <michaelbuch12@gmail.com>
Fri, 14 Apr 2023 16:10:17 +0000 (17:10 +0100)
commit0301a492f43efc3a2c1fa1bddd16e46aac8ab77e
tree873fab40187d7e769d8cef73cda7fb06c3813aff
parent7dbf5ce538bce5c296d53960a751a5bbed2e027d
[lldb][Language] Add more language types

Adds more languages to the `language_names` list in
preparation for adding support for C++20 expression
evaluation.

The language constants were taken from the DWARFv5
constants defined in LLVM's `Dwarf.def`. Two vendor
constants overlap with the DWARFv5 constants so bump
their values. Their actual value is not important,
whereas keeping the enum values consecutive is (since
they are used for array lookups).

Differential Revision: https://reviews.llvm.org/D143061
lldb/include/lldb/lldb-enumerations.h
lldb/source/Target/Language.cpp