ReJit | Add x64 intrinsics to .NET through the use of ungodly hacks
kandi X-RAY | ReJit Summary
kandi X-RAY | ReJit Summary
Add x64 intrinsics to .NET through the use of ungodly hacks
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ReJit
ReJit Key Features
ReJit Examples and Code Snippets
Community Discussions
Trending Discussions on ReJit
QUESTION
I'm developing a CLR profiler, using the CLR profiling interfaces, and having a hard time getting the CLR to load plain, non-profile-optimized native images (that were compiled with ngen.exe
without the /profile
option) when running my profiler (or at least, it seems that such images are not loaded, but for now I can't tell for sure). What am I doing wrong?
I have verified that the COR_PRF_USE_PROFILE_IMAGES
flag (which will only allow for profile optimized native images) is not set in my profiler.
Below is what I've tried. Any help/tips are much appreciated!
FUSLOGVW outputs:
I've been inspecting the native image binder logs (in FUSLOGVW.exe
) trying to figure out whether images are loaded or not:
When running
...HelloWorld.exe
with a "plain" native image - that was NGEN'd withngen.exe install HelloWorld.exe
with profiler enabled - the assembly binder log (ExplicitBind!FileName=(HelloWorld.exe).HTM
) shows:
ANSWER
Answered 2019-Jan-05 at 21:01Coming back to answer my own question, it seems that the native images were indeed loaded! (both kinds - plain and profile optimized). The problem was my understanding that this was indeed the case.
The source of my consufion was misreading FUSLOGVW log outputs. Specifically, somehow I missed to see that WRN: Native image compile options do not match request. Looking for next native image
was given for the /profile
image, but image search continued and found the plain, non profile image, and succeeded.
What helped my understanding eventually was Visual Studio. When debugging the CLR profiler in Visual Studio, the binding of native images was displayed in the Debug Output window, where it also showed the DLLs being loaded:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ReJit
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page