This patch introduces a LLDB_SCOPED_TIMER macro to hide the needlessly repetitive creation of scoped timers in LLDB. It's similar to the LLDB_LOG(F) macro.
Details
Details
- Reviewers
labath mib • espindola - Group Reviewers
Restricted Project - Commits
- rG5c1c8443eb73: [lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC)
Diff Detail
Diff Detail
Event Timeline
Comment Actions
You can't put these declarations inside do {} while(0) -- the additional scope works against us in this case, and forces a premature timer termination. Other than that, this seems fine...