llvm-project/lldb/source/Host
Zachary Turner 75172a9567 Revert "Avoid global contstructors and place static variables
inside classes as static local variables and remove the static
ivars. Subclasses should use the accessor functions."

This change moved global statics to function local statics, but
forgot to make the locals static in the function, breaking all
platforms.  Furthermore, MSVC doesn't support thread-safe function
local statics, so any use of a function local static on non
primitive types is undefined behavior on MSVC.

Reverting due to the fact that it's broken on all platforms, but
would like to have a discussion about the thread-safety issue
before it goes back in.

llvm-svn: 216123
2014-08-20 20:53:05 +00:00
..
common Revert "Avoid global contstructors and place static variables 2014-08-20 20:53:05 +00:00
freebsd Move Host::GetArchitecture to HostInfo::GetArchitecture. 2014-08-20 16:42:51 +00:00
linux Move Host::GetArchitecture to HostInfo::GetArchitecture. 2014-08-20 16:42:51 +00:00
macosx Move Host::GetArchitecture to HostInfo::GetArchitecture. 2014-08-20 16:42:51 +00:00
posix Move some Host logic into HostInfo class. 2014-08-19 17:18:29 +00:00
windows Move some Host logic into HostInfo class. 2014-08-19 17:18:29 +00:00
CMakeLists.txt Move some Host logic into HostInfo class. 2014-08-19 17:18:29 +00:00
Makefile Try to fix the Make build 2014-08-15 22:50:48 +00:00