[release/8.0] Events for IL methods without IL headers (#90844)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 21 Aug 2023 14:43:57 +0000 (07:43 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2023 14:43:57 +0000 (07:43 -0700)
commitb7a3590e9906a9e889cb645b82d526eccc8b02dc
tree5efb193ef3260bd6f161b82f348aa9abaf6fc1e1
parent90b92bb265a412592c4c152983d7b30c92236dbe
[release/8.0] Events for IL methods without IL headers (#90844)

* Events for IL methods without IL headers

Dynamically generated methods like UnsafeAccessor
functions are marked as IL, but don't contain an IL
header. The lack of header is an indication the IL must
be generated at runtime.

* Debugger check for no IL header

* Update src/coreclr/debug/daccess/stack.cpp

Co-authored-by: Tlakaelel Axayakatl Ceja <tlakaelel.ceja@microsoft.com>
* Review feedback

* Remove redundent calls and another spot to check.

* Move header include

---------

Co-authored-by: Aaron R Robinson <arobins@microsoft.com>
Co-authored-by: Tlakaelel Axayakatl Ceja <tlakaelel.ceja@microsoft.com>
src/coreclr/debug/daccess/stack.cpp
src/coreclr/inc/eventtracebase.h
src/coreclr/utilcode/stresslog.cpp
src/coreclr/vm/eventtrace.cpp
src/coreclr/vm/jitinterface.cpp
src/coreclr/vm/method.hpp
src/coreclr/vm/prestub.cpp
src/coreclr/vm/versionresilienthashcode.cpp