diff options
author | walter erquinigo <walter@modular.com> | 2023-06-15 15:57:07 -0500 |
---|---|---|
committer | walter erquinigo <walter@modular.com> | 2023-06-26 11:31:48 -0500 |
commit | 582582fb474b8cd4103e65c3e5a705b3aff61794 (patch) | |
tree | 9ace6d2516c59dea9408a16c75eb491a3c248c93 /lldb/include | |
parent | 40deed40ae77ba22f7c72693903752ab6bfeb4e7 (diff) | |
download | llvm-582582fb474b8cd4103e65c3e5a705b3aff61794.zip llvm-582582fb474b8cd4103e65c3e5a705b3aff61794.tar.gz llvm-582582fb474b8cd4103e65c3e5a705b3aff61794.tar.bz2 |
[LLDB] Add DWARF definitions for the new Mojo language
The new language Mojo recently received a proper DWARF code, which can be seen in https://dwarfstd.org/languages.html, and this patch adds the basic definitions for using this language in DWARF.
Differential Revision: https://reviews.llvm.org/D153073
Diffstat (limited to 'lldb/include')
-rw-r--r-- | lldb/include/lldb/lldb-enumerations.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/include/lldb/lldb-enumerations.h b/lldb/include/lldb/lldb-enumerations.h index da5b88c..3981eb0 100644 --- a/lldb/include/lldb/lldb-enumerations.h +++ b/lldb/include/lldb/lldb-enumerations.h @@ -490,16 +490,16 @@ enum LanguageType { eLanguageTypeFortran18 = 0x002d, eLanguageTypeAda2005 = 0x002e, eLanguageTypeAda2012 = 0x002f, + eLanguageTypeMojo = 0x0033, // Vendor Extensions // Note: Language::GetNameForLanguageType // assumes these can be used as indexes into array language_names, and // Language::SetLanguageFromCString and Language::AsCString assume these can // be used as indexes into array g_languages. - eLanguageTypeMipsAssembler, ///< Mips_Assembler. + eLanguageTypeMipsAssembler, ///< Mips_Assembler. // Mojo will move to the common list of languages once the DWARF committee // creates a language code for it. - eLanguageTypeMojo, eNumLanguageTypes }; |