Skip to content

Commit

Permalink
Merge pull request #16017 from dsouzai/relodumpfix
Browse files Browse the repository at this point in the history
Add missing relos in dumpRelocationHeaderData
  • Loading branch information
jdmpapin committed Oct 5, 2022
2 parents 52ab41f + 9258159 commit ac0e940
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
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

0 comments on commit ac0e940

Please sign in to comment.