[Lldb-commits] [PATCH] D16766: [RenderScript] Use LLVM DWARF language enum
Ewan Crawford via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 3 01:21:18 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL259634: [RenderScript] Use LLVM DWARF language enum (authored by EwanCrawford).
Changed prior to commit:
http://reviews.llvm.org/D16766?vs=46656&id=46755#toc
Repository:
rL LLVM
http://reviews.llvm.org/D16766
Files:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
lldb/trunk/source/Symbol/ClangASTContext.cpp
Index: lldb/trunk/source/Symbol/ClangASTContext.cpp
===================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp
@@ -105,7 +105,8 @@
return language == eLanguageTypeUnknown || // Clang is the default type system
Language::LanguageIsC (language) ||
Language::LanguageIsCPlusPlus (language) ||
- Language::LanguageIsObjC (language);
+ Language::LanguageIsObjC (language) ||
+ language == eLanguageTypeExtRenderScript;
}
}
Index: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
===================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
@@ -1180,7 +1180,7 @@
{
case DW_LANG_Mips_Assembler:
return eLanguageTypeMipsAssembler;
- case 0x8e57: // FIXME: needs to be added to llvm
+ case DW_LANG_GOOGLE_RenderScript:
return eLanguageTypeExtRenderScript;
default:
return static_cast<LanguageType>(val);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16766.46755.patch
Type: text/x-patch
Size: 1199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160203/90d3d0b4/attachment.bin>
More information about the lldb-commits
mailing list