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

Add missing relos in dumpRelocationHeaderData #16017

Merged
merged 1 commit into from
Oct 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions runtime/compiler/codegen/J9AheadOfTimeCompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1683,6 +1683,9 @@ J9::AheadOfTimeCompile::dumpRelocationHeaderData(uint8_t *cursor, bool isVerbose

case TR_InlinedInterfaceMethod:
case TR_InlinedVirtualMethod:
case TR_InlinedStaticMethod:
case TR_InlinedSpecialMethod:
case TR_InlinedAbstractMethod:
{
TR_RelocationRecordInlinedMethod *imRecord = reinterpret_cast<TR_RelocationRecordInlinedMethod *>(reloRecord);

Expand Down
8 changes: 4 additions & 4 deletions runtime/compiler/runtime/RelocationRecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6425,8 +6425,8 @@ uint32_t TR_RelocationRecord::_relocationRecordHeaderSizeTable[TR_NumExternalRel
sizeof(TR_RelocationRecordConstantPoolBinaryTemplate), // TR_MethodObject = 6
0, // TR_InterfaceObject = 7
sizeof(TR_RelocationRecordHelperAddressBinaryTemplate), // TR_AbsoluteHelperAddress = 8
sizeof(TR_RelocationRecordWithOffsetBinaryTemplate), // TR_FixedSeqAddress = 9
sizeof(TR_RelocationRecordWithOffsetBinaryTemplate), // TR_FixedSeq2Address = 10
sizeof(TR_RelocationRecordWithOffsetBinaryTemplate), // TR_FixedSequenceAddress = 9
sizeof(TR_RelocationRecordWithOffsetBinaryTemplate), // TR_FixedSequenceAddress2 = 10
sizeof(TR_RelocationRecordDirectToJNIBinaryTemplate), // TR_JNIVirtualTargetAddress = 11
sizeof(TR_RelocationRecordDirectToJNIBinaryTemplate), // TR_JNIStaticTargetAddress = 12
sizeof(TR_RelocationRecordBinaryTemplate), // TR_ArrayCopyHelper = 13
Expand Down Expand Up @@ -6499,8 +6499,8 @@ uint32_t TR_RelocationRecord::_relocationRecordHeaderSizeTable[TR_NumExternalRel
0, // TR_ValidateRomClass = 80
0, // TR_ValidatePrimitiveClass = 81
0, // TR_ValidateMethodFromInlinedSite = 82
0, // TR_ValidatedMethodByName = 83
sizeof(TR_RelocationRecordValidateMethodFromClassBinaryTemplate), // TR_ValidatedMethodFromClass = 84
0, // TR_ValidateMethodByName = 83
sizeof(TR_RelocationRecordValidateMethodFromClassBinaryTemplate), // TR_ValidateMethodFromClass = 84
sizeof(TR_RelocationRecordValidateMethodFromCPBinaryTemplate), // TR_ValidateStaticMethodFromCP = 85
sizeof(TR_RelocationRecordValidateMethodFromCPBinaryTemplate), // TR_ValidateSpecialMethodFromCP = 86
sizeof(TR_RelocationRecordValidateMethodFromCPBinaryTemplate), // TR_ValidateVirtualMethodFromCP = 87
Expand Down