This is an archive of the discontinued LLVM Phabricator instance.

[MemProf] Use updated version of hot/cold operator new
ClosedPublic

Authored by tejohnson on Apr 28 2023, 12:06 PM.

Details

Summary

Switch to the just updated versions of the API in tcmalloc that change
the name of the hot cold paramter to a reserved identifier __hot_cold_t.
This was based on feedback from Richard Smith, as I also need to add
some follow-on handling to clang so they are annotated properly.

Diff Detail

Event Timeline

tejohnson created this revision.Apr 28 2023, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2023, 12:06 PM
Herald added subscribers: hoy, hiraditya. · View Herald Transcript
tejohnson requested review of this revision.Apr 28 2023, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2023, 12:06 PM
This revision is now accepted and ready to land.Apr 28 2023, 12:14 PM

Yeah I'll do that. It won't fail with this change due to the wildcard, but it's probably best to be consistent and explicit.

tejohnson updated this revision to Diff 518039.Apr 28 2023, 1:35 PM

Address comments

This revision was landed with ongoing or failed builds.Apr 28 2023, 1:36 PM
This revision was automatically updated to reflect the committed changes.