llvm-project/lldb
Pavel Labath 5f05ea84d5 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
2016-10-19 15:12:45 +00:00
..
cmake [cmake] Make dependencies of lldb libraries private, take 2 2016-10-18 10:26:57 +00:00
docs gdb-remote: Add jModulesInfo packet 2016-09-08 10:07:04 +00:00
examples *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
include/lldb Remove IntervalTimer class 2016-10-19 15:01:22 +00:00
lit [lit] Don't assume you'll find debugserver 2016-10-07 02:26:41 +00:00
lldb.xcodeproj Add a first unit test for the arm64 instruction profiled unwind 2016-10-11 02:24:00 +00:00
lldb.xcworkspace Revert r275223, which committed the wrong thing. 2016-07-12 23:31:42 +00:00
packages/Python/lldbsuite Revert back to the state before r284550 2016-10-19 02:44:20 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Fix Python binding generation build step on Windows 2016-10-13 04:07:22 +00:00
source Simplify GetGlobalProperties functions of Thread/Process/Target 2016-10-19 15:12:45 +00:00
test [CMake] Don't include LLDB_TEST_COMPILER in cached variable 2016-10-18 23:54:28 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Fixup r284466 - try to unbreak NetBSD 2016-10-18 10:46:45 +00:00
unittests Minidump plugin: functions parsing memory structures and filtering module list 2016-10-19 14:14:18 +00:00
utils *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
www Add a quick note about how to build lldb with debug info using 2016-09-29 21:47:15 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
CMakeLists.txt [CMake] Initial support for LLDB.framework 2016-09-21 21:02:16 +00:00
CODE_OWNERS.txt Switch linux and android CODE_OWNERS 2016-08-26 10:06:13 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00