<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [codeview] emit source language information for the D programming language"
   href="https://bugs.llvm.org/show_bug.cgi?id=33899">33899</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[codeview] emit source language information for the D programming language
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>r.sagitario@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
(<a href="http://rainers.github.io/visuald/visuald/Debugging.html#concord">http://rainers.github.io/visuald/visuald/Debugging.html#concord</a>) 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
(<a href="https://github.com/Microsoft/microsoft-pdb/issues/21">https://github.com/Microsoft/microsoft-pdb/issues/21</a>). 

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>