Skip to content

Commit 719009a

Browse files
EgorBoCopilot
andauthored
JIT: Include method name in Release disassembly footer (dotnet#133095)
Include method identity in the Release JIT disassembly footer so jit-analyze can attribute code size. Companion to dotnet/jitutils#440. Should enable jit-utils (and namely MihuBot) to use Release bits only for diffs. --------- Co-authored-by: Copilot <[email protected]> Copilot-Session: adc25eed-fa82-4c28-9694-52d6114d6ebf
1 parent 334cc5c commit 719009a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/coreclr/jit/codegencommon.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2592,7 +2592,8 @@ void CodeGen::genEmitMachineCode()
25922592
#else
25932593
if (m_compiler->opts.disAsm)
25942594
{
2595-
printf("\n; Total bytes of code %d\n\n", codeSize);
2595+
printf("\n; Total bytes of code %d for method %s (%s)\n\n", codeSize,
2596+
m_compiler->eeGetMethodFullName(m_compiler->info.compMethodHnd), m_compiler->compGetTieringName(true));
25962597
}
25972598
#endif
25982599

0 commit comments

Comments
 (0)