commit | d396db561a9a35b1506b18cac6d0f6304b042421 | [log] [tgz] |
---|---|---|
author | Aditya Kumar <1894981+hiraditya@users.noreply.github.com> | Wed Aug 12 22:11:50 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 28 01:07:46 2020 -0700 |
tree | 8ad952fe92afdf32d2fc49e57b603f6a66c522fb | |
parent | 7a34f188b84523d21cd78288cb430e9fd0a71b61 [diff] |
Add cold attribute to one time construction APIs _cxa_guard_acquire is used for only one purpose, namely guarding local static variable initialization, and since that purpose is definitionally cold, it should be attributed as cold Reviewed By: ldionne Reviewers: mclow.lists, ldionne, jfb, yfeldblum Differential Revision: https://reviews.llvm.org/D85873 GitOrigin-RevId: d54f5979bb829e3864016798cc1cb5eecf39c4e0