Modular just announced a new language called Mojo. This patch adds an entry in the language list in LLDB for minimal support (e.g. being able to create a TypeSystem for this language). We will later add debug info entries when the language matures.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/include/lldb/lldb-enumerations.h | ||
---|---|---|
493 | These values correspond to DWARF5's official language codes and 0x0030 is technically already taken. LLDB just hasn't been updated yet. I don't think this should necessarily block this patch but this value will need to be changed at some point. |
lldb/include/lldb/lldb-enumerations.h | ||
---|---|---|
493 | Registering a new language with the DWARF committee is a pretty quick process nowadays. Please do that before taking a constant in the reserved range. |
lldb/include/lldb/lldb-enumerations.h | ||
---|---|---|
493 | Thanks for the information. I'll do so then :) |
You can also use a constant in the Vendor extension space, which might be more appropriate until the languages sees adoption by a wider audience.
These values correspond to DWARF5's official language codes and 0x0030 is technically already taken. LLDB just hasn't been updated yet. I don't think this should necessarily block this patch but this value will need to be changed at some point.
See: https://dwarfstd.org/languages.html