[GDBJIT] Specify C# language in DWARF debug information (dotnet/coreclr#13720)
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Tue, 12 Sep 2017 10:44:24 +0000 (13:44 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 12 Sep 2017 10:44:24 +0000 (12:44 +0200)
commitc4d6c3d3fc2be74372869bad21bf04f4aa19dd7c
tree10fb2d7b158a69b473fe865e7b9e36ba2f420bd0
parent27a663e6884aa0c95a9ba04b1268fae4d3ec4fb1
[GDBJIT] Specify C# language in DWARF debug information (dotnet/coreclr#13720)

* [GDBJIT] Specify C# language in DWARF debug information

To correctly support C# language in lldb DWARF debug information
should contain correct information about language.

Now we use 0x9e57 constant for specify C# language.

* [GDBJIT] Introduce FEATURE_GDBJIT_LANGID_CS

If this feature is set gdbjit will use 0x9e57 as c# lang id,
otherwise it will use DW_LANG_C89.

Commit migrated from https://github.com/dotnet/coreclr/commit/18ab3567e2ea6e2a385527bb247b0eec32a995cb
src/coreclr/clrdefinitions.cmake
src/coreclr/clrfeatures.cmake
src/coreclr/src/vm/gdbjit.cpp