projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a9b55d
)
Fix PDB creation for Ready-to-Run image of facade assemblies
author
dotnet-bot
<dotnet-bot@microsoft.com>
Thu, 27 Oct 2016 17:34:18 +0000
(10:34 -0700)
committer
dotnet-bot
<dotnet-bot@microsoft.com>
Thu, 27 Oct 2016 17:34:18 +0000
(10:34 -0700)
[tfs-changeset: 1635538]
Commit migrated from https://github.com/dotnet/coreclr/commit/
806f001566f22a62010a2f4004d863b9aed83b4e
src/coreclr/src/vm/readytoruninfo.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/readytoruninfo.cpp
b/src/coreclr/src/vm/readytoruninfo.cpp
index
a0e44ce
..
d224841
100644
(file)
--- a/
src/coreclr/src/vm/readytoruninfo.cpp
+++ b/
src/coreclr/src/vm/readytoruninfo.cpp
@@
-447,7
+447,9
@@
static bool AcquireImage(Module * pModule, PEImageLayout * pLayout, READYTORUN_H
}
}
- return false;
+ // Some Ready-to-Run images have no code (e.g., facade assemblies), and don't have Module import.
+ // If we reach here, just accept the image.
+ return true;
}
PTR_ReadyToRunInfo ReadyToRunInfo::Initialize(Module * pModule, AllocMemTracker *pamTracker)