[llvm-bugs] [Bug 33899] New: [codeview] emit source language information for the D programming language

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 23 01:34:05 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33899

            Bug ID: 33899
           Summary: [codeview] emit source language information for the D
                    programming language
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: r.sagitario at gmx.de
                CC: llvm-bugs at lists.llvm.org

When generating CodeView debug information, LLVM emits SourceLanguage::Masm for
any unsupported source language (see AsmPrinter/CodeViewDebug.cpp, function
MapDWLangToCVLang). The Visual Studio debugger falls back to the C++ engine for
this which is ok for many languages. But the D programming language has
debugger support
(http://rainers.github.io/visuald/visuald/Debugging.html#concord) that is
loaded by the VS debugger depending on the source language found in the debug
information.

Unfortunately, I haven't been able to draw Microsofts attention to adding a
constant to the respective headers
(https://github.com/Microsoft/microsoft-pdb/issues/21). 

Would it still be possible to add a D specific source language identifier to
the CodeView output for dwarf::DW_LANG_D, so that the LLVM based D compiler
could benefit from this integration, too? The reference compiler emits constant
'D' (0x44) as the source language.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170723/f23c2a13/attachment.html>


More information about the llvm-bugs mailing list