summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/value/main.c
diff options
context:
space:
mode:
authorGraydon Hoare <ghoare@apple.com>2018-08-17 04:13:19 +0000
committerGraydon Hoare <ghoare@apple.com>2018-08-17 04:13:19 +0000
commiteac6e8711864197d5da3eef71d056cffa4acbfb6 (patch)
tree7ec4a4764828ba773516c60163f5b5a0b94191f5 /lldb/packages/Python/lldbsuite/test/python_api/value/main.c
parentd6a76f761f57fb73cd8d65b317644d2aa061bb0c (diff)
downloadbcm5719-llvm-eac6e8711864197d5da3eef71d056cffa4acbfb6.tar.gz
bcm5719-llvm-eac6e8711864197d5da3eef71d056cffa4acbfb6.zip
[Support] Add a public API to allow clearing all (static) timer groups.
Summary: Formerly, all timer groups were automatically cleared when printed out. In https://reviews.llvm.org/rL324788 this behaviour was changed to not-clearing timers on printout, to allow printing timers more than once, but as a result clients (specifically Swift) that relied on the clear-on-print behaviour to inhibit duplicate timer printing on shutdown were broken. Rather than revert that change, this change adds a new API that enables clients that _want_ to clear all timers to do so explicitly. Reviewers: george.karpenkov, thegameg Reviewed By: george.karpenkov Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D50874 llvm-svn: 339980
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud