llvm-project/lldb/source/Utility
Enrico Granata fcb37ae365 <rdar://problem/15182550>
Removing Host/Atomic.h
This header file was not being copied as part of our public API headers and this in turn was causing any plugin to link against LLDB.framework, since SharingPtr.h depends on it

Out of several possible options to fix this issue, the cleanest one is to revert LLDB to use std::atomic<>, as we are a C++11 project and should take advantage of it

The original rationale for going from std::atomic to Host/Atomic.h was that MSVC++ fails to link in CLR mode when std::atomic is used
This is a very Visual Studio/.net specific issue, which hopefully will be fixed
Until them, to allow Windows development to proceed, we are going with a targeted solution where we #ifdef include the Windows specific calls, and let everyone else use the
proper atomic support, as should be

If there is an unavoidable need for a LLDB-specific atomic header, the right way to go at it would be to make an API/lldb-atomic.h header and #ifdef the Windows dependency there

The FormatManager should not need to conditionalize use of std::atomic<>, as other parts of the LLDB internals are successfully using atomic (Address and IRExecutionUnit), so this
Win-specific hack is limited to SharingPtr

llvm-svn: 192993
2013-10-18 18:57:49 +00:00
..
ARM_DWARF_Registers.cpp Various fixes for armv7 floating point/vector register support. 2013-03-13 00:14:30 +00:00
ARM_DWARF_Registers.h Various fixes for armv7 floating point/vector register support. 2013-03-13 00:14:30 +00:00
ARM_GCC_Registers.h Modified the LocateMacOSXFilesUsingDebugSymbols(...) function to locate 2011-07-19 03:57:15 +00:00
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
KQueue.cpp Added a kqueue class which isn't being used yet, but was part of trying to work around the limitations with the unix select() call and how it is limited to FD_SETSIZE file descriptors. 2013-02-16 22:46:58 +00:00
KQueue.h Make KQueue import the header in the correct path. 2013-04-18 20:58:20 +00:00
Makefile Only enable RTTI for cxa_demangle.cpp 2013-02-15 02:36:40 +00:00
PseudoTerminal.cpp MingW compilation (windows). Includes various refactoring to improve portability. 2013-08-23 12:44:05 +00:00
Range.cpp <rdar://problem/14134716> 2013-06-17 22:51:50 +00:00
SharingPtr.cpp <rdar://problem/15182550> 2013-10-18 18:57:49 +00:00
StringExtractor.cpp merge lldb-platform-work branch (and assorted fixes) into trunk 2013-08-26 23:57:52 +00:00
StringExtractor.h merge lldb-platform-work branch (and assorted fixes) into trunk 2013-08-26 23:57:52 +00:00
StringExtractorGDBRemote.cpp merge lldb-platform-work branch (and assorted fixes) into trunk 2013-08-26 23:57:52 +00:00
StringExtractorGDBRemote.h merge lldb-platform-work branch (and assorted fixes) into trunk 2013-08-26 23:57:52 +00:00
TimeSpecTimeout.cpp Added a kqueue class which isn't being used yet, but was part of trying to work around the limitations with the unix select() call and how it is limited to FD_SETSIZE file descriptors. 2013-02-16 22:46:58 +00:00
TimeSpecTimeout.h Added a kqueue class which isn't being used yet, but was part of trying to work around the limitations with the unix select() call and how it is limited to FD_SETSIZE file descriptors. 2013-02-16 22:46:58 +00:00
UuidCompatibility.h Fix build on Linux 2013-04-17 19:24:22 +00:00