-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE_GDBJIT fails to compile due to missing member of Module type #76291
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
I don't have write permission but the area is area-CodeGen-coreclr |
I've submitted a PR with a fix, there is another method that does exactly the same thing, with a different name so it was easy to fix |
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsDescriptionI'm trying to compile .NET 7 RC1 with the GDB JIT debug emitter by using: $ ./build.sh clr.runtime -c debug --cmakeargs -DFEATURE_GDBJIT=ON The I get an error at compile time for this line: https://github.com/dotnet/runtime/blob/v7.0.0-rc.1.22426.10/src/coreclr/vm/gdbjit.cpp#L511
the The .NET 6 interface with this method is here: Reproduction Steps$ ./build.sh clr.runtime -c debug --cmakeargs -DFEATURE_GDBJIT=ON Expected behaviorSuccessful compilation (as with .net 6) Actual behaviorcompilation error Regression?Yes. The code was removed here: Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
Fixes #76291 Co-authored-by: Anthony Shaw <[email protected]>
Description
I'm trying to compile .NET 7 RC1 with the GDB JIT debug emitter by using:
$ ./build.sh clr.runtime -c debug --cmakeargs -DFEATURE_GDBJIT=ON
The
FEATURE_GDBJIT
when combined with theCOMPlus_GDBJitDump
environment variable should emit JIT dumps for GDB (which is what I'm trying to do).I get an error at compile time for this line: https://github.com/dotnet/runtime/blob/v7.0.0-rc.1.22426.10/src/coreclr/vm/gdbjit.cpp#L511
the
Module
type no longer has a member namedGetFile
, it was removed since .NET 6, but the gdbjit.cpp file has not been updated with whatever the new API should be, so the file cannot be compiled.The .NET 6 interface with this method is here:
https://github.com/dotnet/runtime/blob/v6.0.9/src/coreclr/vm/ceeload.h#L1695-L1697
Reproduction Steps
$ ./build.sh clr.runtime -c debug --cmakeargs -DFEATURE_GDBJIT=ON
Expected behavior
Successful compilation (as with .net 6)
Actual behavior
compilation error
Regression?
Yes.
The code was removed here:
7088332d#diff-85a6545c44de808889ff13d59b23a669174330d44a5d0b3248ef2373696fa0ec
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: