Fix SOS thread statics display (#21426)
authorJan Vorlicek <janvorli@microsoft.com>
Fri, 7 Dec 2018 09:32:59 +0000 (10:32 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Dec 2018 09:32:59 +0000 (10:32 +0100)
commitadd9f313447c44db85944cbff0d633f8852b5b9f
tree0df6a9239eb07af236508a14963fd4e934b15d11
parent35b5555b96b57e9f5a969580abb5dfdfeb735732
Fix SOS thread statics display (#21426)

I've noticed that when dumping an object with thread locals using SOS
dumpobj command, I never get the thread locals. I've stepped through the
code in SOS that displays thread statics and found that for some strange
reason, it dismisses threads where DomainLocalModule doesn't have
"initialized" flag set for the given class. However, when runtime
accesses thread statics, it just checks "allocated" flag set for the
given class in the ThreadLocalModule. Removing the extra check for
DomainLocalModule fixed the problem and now thread statics are displayed
properly.
src/ToolBox/SOS/Strike/util.cpp