[Lldb-commits] [lldb] r347637 - Add support for the Dylan language to ClangASTContext

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 26 21:37:27 PST 2018


Author: brucem
Date: Mon Nov 26 21:37:27 2018
New Revision: 347637

URL: http://llvm.org/viewvc/llvm-project?rev=347637&view=rev
Log:
Add support for the Dylan language to ClangASTContext

Summary:
This change adds eLanguageTypeDylan to the set of languages supported
by ClangASTContext. Debug info generated by the Open Dylan compiler's
LLVM back-end was designed to be compatible with C debug info.

Patch by Peter Housel.

Reviewers: clayborg

Reviewed By: clayborg

Subscribers: brucem, lldb-commits, aprantl

Differential Revision: https://reviews.llvm.org/D54886

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=347637&r1=347636&r2=347637&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Mon Nov 26 21:37:27 2018
@@ -119,7 +119,9 @@ ClangASTContextSupportsLanguage(lldb::La
          language == eLanguageTypeRust ||
          language == eLanguageTypeExtRenderScript ||
          // Use Clang for D until there is a proper language plugin for it
-         language == eLanguageTypeD;
+         language == eLanguageTypeD ||
+         // Open Dylan compiler debug info is designed to be Clang-compatible
+         language == eLanguageTypeDylan;
 }
 
 // Checks whether m1 is an overload of m2 (as opposed to an override). This is




More information about the lldb-commits mailing list