summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-10-19 15:12:45 +0000
committerPavel Labath <labath@google.com>2016-10-19 15:12:45 +0000
commit5f05ea84d58d2b3044e5fad164bd7ebb22aff348 (patch)
tree01c59e4597a57a510af44860eb84423947c1d1a6 /lldb/packages/Python/lldbsuite/test/expression_command
parentce30b1c78ef3b7d6e5426b4ed778eccd68162c7e (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud