[Lldb-commits] [PATCH] D143061: [lldb][Language] Add more language	types
    Adrian Prantl via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Wed Feb  1 09:39:51 PST 2023
    
    
  
aprantl added inline comments.
================
Comment at: lldb/include/lldb/lldb-enumerations.h:492
+  eLanguageTypeAda2005 = 0x002e,
+  eLanguageTypeAda2012 = 0x002f,
+
----------------
Would it make sense to generate this list from the macros in `llvm/include/llvm/BinaryFormat/Dwarf.def` with some clever application of the ## operator?
================
Comment at: lldb/source/Target/Language.cpp:211
+    {"ada2005", eLanguageTypeAda2005},
+    {"ada2012", eLanguageTypeAda2012},
     // Vendor Extensions
----------------
Should we sink this into the Dwarf.def?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143061/new/
https://reviews.llvm.org/D143061
    
    
More information about the lldb-commits
mailing list