[Lldb-commits] [lldb] r216486 - [dwarf] Add new language enumerations.

Bruce Mitchener bruce.mitchener at gmail.com
Tue Aug 26 14:22:50 PDT 2014


Author: brucem
Date: Tue Aug 26 16:22:49 2014
New Revision: 216486

URL: http://llvm.org/viewvc/llvm-project?rev=216486&view=rev
Log:
[dwarf] Add new language enumerations.

This updates the DWARF language identifiers to include recent additions to
the DWARF 5 specification (draft).

Modified:
    lldb/trunk/include/lldb/lldb-enumerations.h
    lldb/trunk/source/Target/LanguageRuntime.cpp

Modified: lldb/trunk/include/lldb/lldb-enumerations.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-enumerations.h?rev=216486&r1=216485&r2=216486&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-enumerations.h (original)
+++ lldb/trunk/include/lldb/lldb-enumerations.h Tue Aug 26 16:22:49 2014
@@ -382,6 +382,9 @@ namespace lldb {
         eLanguageTypeOCaml           = 0x001b,   ///< OCaml.
         eLanguageTypeRust            = 0x001c,   ///< Rust.
         eLanguageTypeC11             = 0x001d,   ///< ISO C:2011.
+        eLanguageTypeSwift           = 0x001e,   ///< Swift.
+        eLanguageTypeJulia           = 0x001f,   ///< Julia.
+        eLanguageTypeDylan           = 0x0020,   ///< Dylan.
         eNumLanguageTypes
     } LanguageType;
 

Modified: lldb/trunk/source/Target/LanguageRuntime.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/LanguageRuntime.cpp?rev=216486&r1=216485&r2=216486&view=diff
==============================================================================
--- lldb/trunk/source/Target/LanguageRuntime.cpp (original)
+++ lldb/trunk/source/Target/LanguageRuntime.cpp Tue Aug 26 16:22:49 2014
@@ -316,6 +316,9 @@ struct language_name_pair language_names
     {   "ocaml",            eLanguageTypeOCaml          },
     {   "rust",             eLanguageTypeRust           },
     {   "c11",              eLanguageTypeC11            },
+    {   "swift",            eLanguageTypeSwift          },
+    {   "julia",            eLanguageTypeJulia          },
+    {   "dylan",            eLanguageTypeDylan          },
     // Now synonyms, in arbitrary order
     {   "objc",             eLanguageTypeObjC           },
     {   "objc++",           eLanguageTypeObjC_plus_plus }





More information about the lldb-commits mailing list