[PATCH] D149702: [DebugInfo] Add language code for the new Mojo language

Alex Langford via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 16:17:44 PDT 2023


bulbazord added inline comments.


================
Comment at: lldb/include/lldb/lldb-enumerations.h:493
   eLanguageTypeAda2012 = 0x002f,
+  eLanguageTypeMojo = 0x0030,
 
----------------
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


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149702/new/

https://reviews.llvm.org/D149702



More information about the llvm-commits mailing list