[Lldb-commits] [lldb] r267667 - Committing patch from <Michael Woerister <michaelwoerister at posteo.net>

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 26 21:50:51 PDT 2016

Author: jmolenda
Date: Tue Apr 26 23:50:51 2016
New Revision: 267667

URL: http://llvm.org/viewvc/llvm-project?rev=267667&view=rev
Committing patch from <Michael Woerister <michaelwoerister at posteo.net>
to use the default clang C/C++ expression parser when debugging
Rust programs.  Ideally there would be a rust language plugin to
support their language natively, but until then this will get simple
variable display to work.



Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=267667&r1=267666&r2=267667&view=diff
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Tue Apr 26 23:50:51 2016
@@ -110,6 +110,8 @@ namespace
                Language::LanguageIsC (language) ||
                Language::LanguageIsCPlusPlus (language) ||
                Language::LanguageIsObjC (language) ||
+               // Use Clang for Rust until there is a proper language plugin for it
+               language == eLanguageTypeRust ||
                language == eLanguageTypeExtRenderScript;

More information about the lldb-commits mailing list