diff options
author | Pavel Labath <labath@google.com> | 2016-10-19 15:12:45 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-10-19 15:12:45 +0000 |
commit | 5f05ea84d58d2b3044e5fad164bd7ebb22aff348 (patch) | |
tree | 01c59e4597a57a510af44860eb84423947c1d1a6 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py | |
parent | ce30b1c78ef3b7d6e5426b4ed778eccd68162c7e (diff) | |
download | bcm5719-llvm-5f05ea84d58d2b3044e5fad164bd7ebb22aff348.tar.gz bcm5719-llvm-5f05ea84d58d2b3044e5fad164bd7ebb22aff348.zip |
Simplify GetGlobalProperties functions of Thread/Process/Target
Summary:
"Initialization of function-local statics is guaranteed to occur only once even when called from
multiple threads, and may be more efficient than the equivalent code using std::call_once."
<http://en.cppreference.com/w/cpp/thread/call_once>
I'd add that it's also more readable.
Reviewers: clayborg, zturner
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D17710
llvm-svn: 284601
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py')
0 files changed, 0 insertions, 0 deletions