This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][DWARF] Reduce overhead for sized dealloc
ClosedPublic

Authored by ayermolo on Jan 14 2022, 10:41 AM.

Details

Summary

This is a follow up to Fix size mismatch error with jemalloc.
4243b6582cf3bb5fbcde908913d4779ded731321
Although that fix works it increased memory footprint.
With this patch we go back to original memory footprint.

Diff Detail

Event Timeline

ayermolo created this revision.Jan 14 2022, 10:41 AM
ayermolo requested review of this revision.Jan 14 2022, 10:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2022, 10:41 AM
ayermolo edited the summary of this revision. (Show Details)Jan 14 2022, 10:52 AM
ayermolo added a reviewer: maksfb.
ayermolo updated this revision to Diff 400107.Jan 14 2022, 12:25 PM

addressed nit

maksfb accepted this revision.Jan 14 2022, 2:36 PM

There's a clang-format issue and a nit. Otherwise LGTM.

bolt/include/bolt/Core/DebugData.h
663
This revision is now accepted and ready to land.Jan 14 2022, 2:36 PM
ayermolo updated this revision to Diff 400154.Jan 14 2022, 2:41 PM

addressed comments

This revision was landed with ongoing or failed builds.Jan 14 2022, 5:33 PM
This revision was automatically updated to reflect the committed changes.