[GDBJIT] Provide full file names in generated DWARF (dotnet/coreclr#14172)
authorIgor Kulaychuk <igor.kulaychuk@gmail.com>
Wed, 27 Sep 2017 13:32:39 +0000 (16:32 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Wed, 27 Sep 2017 13:32:39 +0000 (15:32 +0200)
commit23eaa2bf9798fc02412931b53d99dfc57aa50d75
tree23b77ec168216d8ba0a2e098e87978bac455dc26
parent5d881007e5205f263bd572dcabcd03e0d3bbd498
[GDBJIT] Provide full file names in generated DWARF (dotnet/coreclr#14172)

* Fix compile unit info

Provide full path to source in SequencePoints for GDBJIT
Use source file and directory path for compile unit info in DWARF instead of module name.

* Add a class for building Directory Table and File Table

* Fix code inconsistencies and add comments

Commit migrated from https://github.com/dotnet/coreclr/commit/9509fc86a50ad107ee4d601e917cf072f135aa5e
src/coreclr/src/ToolBox/SOS/NETCore/SymbolReader.cs
src/coreclr/src/vm/gdbjit.cpp
src/coreclr/src/vm/gdbjit.h