Skip to content
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

Display the real offset after branch tightening #43469

Merged
merged 8 commits into from
Oct 20, 2020
2 changes: 1 addition & 1 deletion src/coreclr/src/jit/emit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5097,7 +5097,7 @@ unsigned emitter::emitEndCodeGen(Compiler* comp,
printf("\nG_M%03u_IG%02u:", emitComp->compMethodID, ig->igNum);
if (!emitComp->opts.disDiffable)
{
printf(" ;; offset=%04XH", ig->igOffs);
printf(" ;; offset=%04XH", (cp - codeBlock));
kunalspathak marked this conversation as resolved.
Show resolved Hide resolved
}
printf("\n");
}
Expand Down