This is an archive of the discontinued LLVM Phabricator instance.

[profile] Enable loongarch64
ClosedPublic

Authored by Ami-zhang on Jul 3 2023, 7:28 PM.

Details

Summary

Mark loongarch64 as supported for profile. All tests passed.

Diff Detail

Event Timeline

Ami-zhang created this revision.Jul 3 2023, 7:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 7:28 PM
Ami-zhang requested review of this revision.Jul 3 2023, 7:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 7:28 PM
Herald added subscribers: Restricted Project, wangpc. · View Herald Transcript

People should ensure they have an up-to-date binutils version that supports the R_LARCH_64_PCREL reloc type. This reloc type is used in the __llvm_prf_data section which is generated when instrumentation-based profiling (InstrProfiling) is enabled.

About the summary:

Add support for profile on loongarch64 and pass all tests.

"Add support" generally means some source codes are added. But in this case, we did not add any code. So we can change the sentence to "Mark loongarch64 as supported for profile. All tests passed.".

About the summary:

Add support for profile on loongarch64 and pass all tests.

"Add support" generally means some source codes are added. But in this case, we did not add any code. So we can change the sentence to "Mark loongarch64 as supported for profile. All tests passed.".

Ok, I have modified it. Thanks for your suggestion.

Ami-zhang updated this revision to Diff 537193.Jul 4 2023, 6:26 PM
Ami-zhang edited the summary of this revision. (Show Details)

Modify the summary.

MaskRay accepted this revision.Jul 5 2023, 11:23 AM
This revision is now accepted and ready to land.Jul 5 2023, 11:23 AM
This revision was landed with ongoing or failed builds.Jul 5 2023, 8:08 PM
This revision was automatically updated to reflect the committed changes.