[Linux][GDB-JIT] Add simple C++ mangling of method names in GDBJIT DWARF (dotnet...
authorIgor Kulaychuk <igor.kulaychuk@gmail.com>
Wed, 14 Dec 2016 19:38:11 +0000 (22:38 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Wed, 14 Dec 2016 19:38:11 +0000 (20:38 +0100)
commitdc59439c0f02d0b45d53baabf85979a5af08be92
tree977382c267195df30db8600a6b01ee34fe473896
parent9e42901f4e18085cac9a1cf344b1352fd8b9e7a5
[Linux][GDB-JIT] Add simple C++ mangling of method names in GDBJIT DWARF (dotnet/coreclr#8638)

* Add simple C++ mangling of method names in GDBJIT DWARF

Example:
    Namespace1.Class1.Method -> void Namespace1_Class1::Method()

* Do not convert a name during mangling if target buffer is NULL

Commit migrated from https://github.com/dotnet/coreclr/commit/f25bff4d1645d9e5f03c4810eaf141f8f245f563
src/coreclr/src/vm/gdbjit.cpp
src/coreclr/src/vm/gdbjit.h