Re: [lldb-dev] 64bit atomic ops on 32bit platforms

2017-10-15 Thread Pavel Labath via lldb-dev
On 9 August 2017 at 20:18, Joerg Sonnenberger via lldb-dev wrote: > On Wed, Aug 02, 2017 at 03:47:56PM +0200, Joerg Sonnenberger via lldb-dev > wrote: >> (a) Make the mutex explicit if 64bit operations are not lock-free. >> >> or >> >> (b) Weaken the consistency constraints to provide eventually-

Re: [lldb-dev] 64bit atomic ops on 32bit platforms

2017-08-09 Thread Joerg Sonnenberger via lldb-dev
On Wed, Aug 02, 2017 at 03:47:56PM +0200, Joerg Sonnenberger via lldb-dev wrote: > (a) Make the mutex explicit if 64bit operations are not lock-free. > > or > > (b) Weaken the consistency constraints to provide eventually-consistent > times by splitting the field into explicit 32bit chunks. This

[lldb-dev] 64bit atomic ops on 32bit platforms

2017-08-02 Thread Joerg Sonnenberger via lldb-dev
Hi all, there was a commit a while ago that effectively forces all LLVM projects to use libatomics on 32bit platforms. It is completely necessary for clang and LLVM, of limited usefulness for libc++ ( test cases) and necessary for LLDB right now. The only instance in LLDB is include/Utility/Timer.h