Author: jmolenda Date: Tue Apr 26 23:50:51 2016 New Revision: 267667 URL: http://llvm.org/viewvc/llvm-project?rev=267667&view=rev Log: Committing patch from <Michael Woerister <michaelwoeris...@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.
http://reviews.llvm.org/D19545 Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp 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; } } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits