projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b84a6
)
Fix R2R workaround for Diasymreader (#11116)
author
Gaurav Khanna
<gkhanna@microsoft.com>
Thu, 20 Apr 2017 23:26:17 +0000
(16:26 -0700)
committer
GitHub
<noreply@github.com>
Thu, 20 Apr 2017 23:26:17 +0000
(16:26 -0700)
src/vm/compile.cpp
patch
|
blob
|
history
diff --git
a/src/vm/compile.cpp
b/src/vm/compile.cpp
index
09925cd
..
9161585
100644
(file)
--- a/
src/vm/compile.cpp
+++ b/
src/vm/compile.cpp
@@
-3140,8
+3140,8
@@
HRESULT NGenModulePdbWriter::WritePDBData()
SString dllPath = pLoadedLayout->GetPath();
if (!dllPath.EndsWithCaseInsensitive(L".ni.dll") && !dllPath.EndsWithCaseInsensitive(L".ni.exe"))
{
- SString::Iterator fileNameStart = dllPath.
Begin
();
- dllPath.FindBack(fileNameStart,
'\\'
);
+ SString::Iterator fileNameStart = dllPath.
End
();
+ dllPath.FindBack(fileNameStart,
DIRECTORY_SEPARATOR_STR_W
);
SString::Iterator ext = dllPath.End();
dllPath.FindBack(ext, '.');