summaryrefslogtreecommitdiff
path: root/src/ToolBox
diff options
context:
space:
mode:
authorIgor Kulaychuk <igor.kulaychuk@gmail.com>2017-09-27 16:32:39 +0300
committerJan Vorlicek <janvorli@microsoft.com>2017-09-27 15:32:39 +0200
commit9509fc86a50ad107ee4d601e917cf072f135aa5e (patch)
treeed61d7ff53cf086920dd586eace8d575ba930e4b /src/ToolBox
parent863625426be65b96f2a3c085fc049cfcd2f1a82a (diff)
downloadcoreclr-9509fc86a50ad107ee4d601e917cf072f135aa5e.tar.gz
coreclr-9509fc86a50ad107ee4d601e917cf072f135aa5e.tar.bz2
coreclr-9509fc86a50ad107ee4d601e917cf072f135aa5e.zip
[GDBJIT] Provide full file names in generated DWARF (#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
Diffstat (limited to 'src/ToolBox')
-rw-r--r--src/ToolBox/SOS/NETCore/SymbolReader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ToolBox/SOS/NETCore/SymbolReader.cs b/src/ToolBox/SOS/NETCore/SymbolReader.cs
index e0fcdb517d..7a4bb52102 100644
--- a/src/ToolBox/SOS/NETCore/SymbolReader.cs
+++ b/src/ToolBox/SOS/NETCore/SymbolReader.cs
@@ -539,7 +539,7 @@ namespace SOS
DebugInfo debugInfo = new DebugInfo();
debugInfo.lineNumber = point.StartLine;
- debugInfo.fileName = GetFileName(openedReader.Reader.GetString(openedReader.Reader.GetDocument(point.Document).Name));
+ debugInfo.fileName = openedReader.Reader.GetString(openedReader.Reader.GetDocument(point.Document).Name);
debugInfo.ilOffset = point.Offset;
points.Add(debugInfo);
}