search for: getmanagedstaticmutex

Displaying 6 results from an estimated 6 matches for "getmanagedstaticmutex".

2014 Nov 04
4
[LLVMdev] Issue with std::call_once in PPC64 platform
...220932 (Removing the static initializer in ManagedStatic.cpp by using llvm_call_once to initialize the ManagedStatic mutex.) is causing tablegen to segfault in PPC platforms during static initialization. The crash happens while calling std::call_once introduced by this patch in the wrapper used in getManagedStaticMutex. I understand this call is buggy for some platforms (or probably some oldish libstdc++ versions). Is this a known issue? Should we guard LLVM_DEFINE_ONCE_FLAG definition with platform specific macros to avoid the crash, at least for the moment? Thanks! Samuel -------------- next part ------------...
2014 Nov 04
2
[LLVMdev] Issue with std::call_once in PPC64 platform
...t; ManagedStatic.cpp by using llvm_call_once to initialize the > > ManagedStatic mutex.) is causing tablegen to segfault in PPC platforms > > during static initialization. The crash happens while calling > > std::call_once introduced by this patch in the wrapper used in > > getManagedStaticMutex. > > > > I understand this call is buggy for some platforms (or probably some > > oldish libstdc++ versions). Is this a known issue? Should we guard > > LLVM_DEFINE_ONCE_FLAG definition with platform specific macros to > > avoid the crash, at least for the moment? >...
2014 Nov 04
2
[LLVMdev] Issue with std::call_once in PPC64 platform
...itialize the > > > > ManagedStatic mutex.) is causing tablegen to segfault in PPC > > platforms > > > > during static initialization. The crash happens while calling > > > > std::call_once introduced by this patch in the wrapper used in > > > > getManagedStaticMutex. > > > > > > > > I understand this call is buggy for some platforms (or probably > > some > > > > oldish libstdc++ versions). Is this a known issue? Should we guard > > > > LLVM_DEFINE_ONCE_FLAG definition with platform specific macros to > &...
2014 Nov 04
2
[LLVMdev] Issue with std::call_once in PPC64 platform
...t; ManagedStatic mutex.) is causing tablegen to segfault in PPC >>>> platforms >>>>>> during static initialization. The crash happens while calling >>>>>> std::call_once introduced by this patch in the wrapper used >> in >>>>>> getManagedStaticMutex. >>>>>> >>>>>> I understand this call is buggy for some platforms (or >> probably >>>> some >>>>>> oldish libstdc++ versions). Is this a known issue? Should we >> guard >>>>>> LLVM_DEFINE_ONCE_FLAG def...
2014 Nov 05
2
[LLVMdev] Issue with std::call_once in PPC64 platform
...to segfault in PPC >> >>>> platforms >> >>>>>> during static initialization. The crash happens while calling >> >>>>>> std::call_once introduced by this patch in the wrapper used >> >> in >> >>>>>> getManagedStaticMutex. >> >>>>>> >> >>>>>> I understand this call is buggy for some platforms (or >> >> probably >> >>>> some >> >>>>>> oldish libstdc++ versions). Is this a known issue? Should we >> >> guar...
2016 Dec 26
0
A potential race on StaticList in RegisterManagedStatic
Though it won't actually help to guard this: while (StaticList) - a fence here is needed... On Mon, Dec 26, 2016 at 9:20 AM, Viacheslav Nikolaev < viacheslav.nikolaev at gmail.com> wrote: > Ptr member of ManagedStaticBase is now atomic. > In ManagedStaticBase::RegisterManagedStatic we have such code: > > void *Tmp = Creator(); > > Ptr.store(Tmp,