Page MenuHomePhabricator

Use Clang for D language support until there is a proper language plugin for it.
ClosedPublic

Authored by johanengelen on Sep 21 2016, 5:21 AM.

Details

Summary

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!)

Diff Detail

Repository
rL LLVM

Event Timeline

johanengelen retitled this revision from to Use Clang for D language support until there is a proper language plugin for it..
johanengelen updated this object.
johanengelen added a reviewer: Restricted Project.
johanengelen added a subscriber: lldb-commits.
clayborg accepted this revision.Sep 26 2016, 8:50 AM
clayborg added a reviewer: clayborg.
This revision is now accepted and ready to land.Sep 26 2016, 8:50 AM
This revision was automatically updated to reflect the committed changes.