[Lldb-commits] [PATCH] RenderScript Language Type

Colin Riley colin at codeplay.com
Thu Apr 2 09:43:31 PDT 2015


Hi abidh, clayborg,

Adding the RenderScript language type. It's value is a DWARF vendor extension and so Ext is in the name to specify this.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8803

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

Index: include/lldb/lldb-enumerations.h
===================================================================
--- include/lldb/lldb-enumerations.h
+++ include/lldb/lldb-enumerations.h
@@ -397,6 +397,8 @@
         eLanguageTypeC_plus_plus_14  = 0x0021,   ///< ISO C++:2014.
         eLanguageTypeFortran03       = 0x0022,   ///< ISO Fortran 2003.
         eLanguageTypeFortran08       = 0x0023,   ///< ISO Fortran 2008.
+        // Vendor Extensions
+        eLanguageTypeExtRenderScript = 0x8e57,   ///< RenderScript
         eNumLanguageTypes
     } LanguageType;
     
Index: source/Target/LanguageRuntime.cpp
===================================================================
--- source/Target/LanguageRuntime.cpp
+++ source/Target/LanguageRuntime.cpp
@@ -340,6 +340,8 @@
     {   "c++14",            eLanguageTypeC_plus_plus_14 },
     {   "fortran03",        eLanguageTypeFortran03      },
     {   "fortran08",        eLanguageTypeFortran08      },
+    // Vendor Extensions
+    {   "RenderScript",     eLanguageTypeExtRenderScript},
     // Now synonyms, in arbitrary order
     {   "objc",             eLanguageTypeObjC           },
     {   "objc++",           eLanguageTypeObjC_plus_plus }

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8803.23160.patch
Type: text/x-patch
Size: 1200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150402/714117d6/attachment.bin>


More information about the lldb-commits mailing list