diff options
author | Chris Sienkiewicz <chsienki@microsoft.com> | 2018-05-24 18:10:44 -0700 |
---|---|---|
committer | Gleb Balykov <g.balykov@samsung.com> | 2018-09-18 15:49:14 +0300 |
commit | d086b14c8eca21a7928e782b444622f6d719bde1 (patch) | |
tree | 422ceff8fa164249c2dcb96ea74f8ca71e057817 /src/debug/ee/functioninfo.cpp | |
parent | f47c9198e740c44455cc22f665b764204f712afa (diff) | |
download | coreclr-d086b14c8eca21a7928e782b444622f6d719bde1.tar.gz coreclr-d086b14c8eca21a7928e782b444622f6d719bde1.tar.bz2 coreclr-d086b14c8eca21a7928e782b444622f6d719bde1.zip |
Ensure thumb bit is set when calling FindOrCreateInitAndAddJitInfo. Add an assert to FindOrCreateInitAndAddJitInfo when on arm to ensure the thumb bit is set
Diffstat (limited to 'src/debug/ee/functioninfo.cpp')
-rw-r--r-- | src/debug/ee/functioninfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/ee/functioninfo.cpp b/src/debug/ee/functioninfo.cpp index 637924c4cd..30afb0d783 100644 --- a/src/debug/ee/functioninfo.cpp +++ b/src/debug/ee/functioninfo.cpp @@ -1559,13 +1559,13 @@ DebuggerJitInfo *DebuggerMethodInfo::FindOrCreateInitAndAddJitInfo(MethodDesc* f CONTRACTL_END; _ASSERTE(fd != NULL); + ARM_ONLY(_ASSERTE((startAddr & THUMB_CODE) == 1)) // The debugger doesn't track Lightweight-codegen methods b/c they have no metadata. if (fd->IsDynamicMethod()) { return NULL; } - if (startAddr == NULL) { // This will grab the start address for the current code version. |