diff options
author | Reid Kleckner <rnk@google.com> | 2017-07-24 16:16:42 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-07-24 16:16:42 +0000 |
commit | 898ddf61c054ec67c4966d8471dc4751d1a361c9 (patch) | |
tree | 50d72ee94ffbdd3e103352d2c7b454161c11fffc /llvm/lib/DebugInfo/CodeView/EnumTables.cpp | |
parent | 7f6b2534fb2d4dedb2d948686a6031d4739c3576 (diff) | |
download | bcm5719-llvm-898ddf61c054ec67c4966d8471dc4751d1a361c9.tar.gz bcm5719-llvm-898ddf61c054ec67c4966d8471dc4751d1a361c9.zip |
[codeview] Emit 'D' as the cv source language for D code
This matches DMD:
https://github.com/dlang/dmd/blob/522263965cf3a27ed16b31f3c3562db86cdeabec/src/ddmd/backend/cv8.c#L199
Fixes PR33899.
llvm-svn: 308890
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/EnumTables.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/EnumTables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/EnumTables.cpp b/llvm/lib/DebugInfo/CodeView/EnumTables.cpp index 4cfb55a31b3..e58d2f8a1d3 100644 --- a/llvm/lib/DebugInfo/CodeView/EnumTables.cpp +++ b/llvm/lib/DebugInfo/CodeView/EnumTables.cpp @@ -132,7 +132,7 @@ static const EnumEntry<codeview::SourceLanguage> SourceLanguages[] = { CV_ENUM_ENT(SourceLanguage, CSharp), CV_ENUM_ENT(SourceLanguage, VB), CV_ENUM_ENT(SourceLanguage, ILAsm), CV_ENUM_ENT(SourceLanguage, Java), CV_ENUM_ENT(SourceLanguage, JScript), CV_ENUM_ENT(SourceLanguage, MSIL), - CV_ENUM_ENT(SourceLanguage, HLSL), + CV_ENUM_ENT(SourceLanguage, HLSL), CV_ENUM_ENT(SourceLanguage, D), }; static const EnumEntry<uint32_t> CompileSym2FlagNames[] = { |