This is an archive of the discontinued LLVM Phabricator instance.

Reland "[Profile] Allow online merging with debug info correlation."
ClosedPublic

Authored by zequanwu on Aug 28 2023, 8:53 AM.

Details

Summary

Original patch: D157632.

Fixed the issue when data is 0 by relaxing the condition.

Diff Detail

Event Timeline

zequanwu created this revision.Aug 28 2023, 8:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2023, 8:53 AM
Herald added subscribers: Enna1, ormris. · View Herald Transcript
zequanwu requested review of this revision.Aug 28 2023, 8:53 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 28 2023, 8:53 AM
Herald added subscribers: Restricted Project, cfe-commits. · View Herald Transcript

looks fine to me but I'll let ellis lgtm

ellis accepted this revision.Aug 28 2023, 9:35 AM

Thanks for adding the test case! Can you also link the original diff in the summary?

compiler-rt/test/profile/instrprof-merge-empty-data.test
2

Please add a more descriptive explanation for this test 😜

This revision is now accepted and ready to land.Aug 28 2023, 9:35 AM
zequanwu edited the summary of this revision. (Show Details)Aug 28 2023, 10:30 AM
This revision was automatically updated to reflect the committed changes.
zequanwu marked an inline comment as done.

It's more convenient if you upload new patches into original review and reland that one.

Reverted. Please continue on original review: arc diff HEAD^ --revision D157632