[Lldb-commits] [PATCH] D24794: Use Clang for D language support until there is a proper language plugin for it.
Johan Engelen via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 21 05:21:49 PDT 2016
johanengelen created this revision.
johanengelen added a reviewer: LLDB.
johanengelen added a subscriber: lldb-commits.
Binaries with Dwarf language set to "DW_LANG_D" currently do not show much information in LLDB (e.g. no local variables).
With this simple change, Clang language support is used for D (the same as what is done for Rust) and local variables show up nicely.
I don't know whether, or how, to add a testcase for this. Please advise.
(I don't have write access, so if you accept the change, please apply it too. Thanks!)
@@ -113,7 +113,9 @@
// Use Clang for Rust until there is a proper language plugin for it
language == eLanguageTypeRust ||
- language == eLanguageTypeExtRenderScript;
+ language == eLanguageTypeExtRenderScript ||
+ // Use Clang for D until there is a proper language plugin for it
+ language == eLanguageTypeD;
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 605 bytes
Desc: not available
More information about the lldb-commits