Original patch: D157632.
Fixed the issue when data is 0 by relaxing the condition.
Paths
| Differential D159000
Reland "[Profile] Allow online merging with debug info correlation." ClosedPublic Authored by zequanwu on Aug 28 2023, 8:53 AM.
Details
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 28 2023, 8:53 AM Comment Actions Thanks for adding the test case! Can you also link the original diff in the summary?
This revision is now accepted and ready to land.Aug 28 2023, 9:35 AM Closed by commit rGd80992032fd0: Reland "[Profile] Allow online merging with debug info correlation." (authored by zequanwu). · Explain WhyAug 28 2023, 10:33 AM This revision was automatically updated to reflect the committed changes. zequanwu marked an inline comment as done. Comment Actions It's more convenient if you upload new patches into original review and reland that one.
Revision Contents
Diff 553988 clang/lib/CodeGen/BackendUtil.cpp
compiler-rt/lib/profile/InstrProfilingMerge.c
compiler-rt/test/profile/Darwin/instrprof-debug-info-correlate.c
compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
compiler-rt/test/profile/instrprof-merge-empty-data.test
compiler-rt/test/profile/instrprof-merge-error.c
|
Please add a more descriptive explanation for this test 😜