search for: functionrecord

Displaying 4 results from an estimated 4 matches for "functionrecord".

2017 Nov 23
2
question about xray tls data initialization
...nitizer_common/... right? yes, sanitizer_atomic_msvc.h didn't provide this override. according to msdn of interlockedcompareexchange, implementation for atomic_uint32_t should also works for atomic_sint32_t. this is a copy/paste but I think its short enough. any better suggestion ? > > FunctionRecord pack , __attribute__((packed)) => #pragma > pack(push,1), msvc also requires bitfields to be same type to pack > them together( all types => uint32_t) > > > Are you able to test this on other platforms? I've tested this on linux64 (with clang) and it pass check-xray , bu...
2017 Nov 21
2
question about xray tls data initialization
...s32 *cmp, s32 xchg, memory_order mo) is missed for MSVC , I take atomic_uint32_t implementation msvc 14.1 treats BufferQueue::Buffer::Buffer as constructor instead of data member, Buf.Buffer=>Buf.Data FunctionRecord pack , __attribute__((packed)) => #pragma pack(push,1), msvc also requires bitfields to be same type to pack them together( all types => uint32_t) FD int => HANDLE, most code logic still valid (-1 as invalid value), r/w API replaced with windows mprotect => VirtualProtect readTSC...
2015 Dec 03
3
Function attributes for LibFunc and its impact on GlobalsAA
----- Original Message ----- > From: "James Molloy via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Vaivaswatha Nagaraj" <vn at compilertree.com> > Cc: "LLVM Dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, December 3, 2015 4:41:46 AM > Subject: Re: [llvm-dev] Function attributes for LibFunc and its impact on GlobalsAA > >
2017 Nov 16
2
question about xray tls data initialization
I'm learning the xray library and try if it can be built on windows, in xray_fdr_logging_impl.h line 152 , comment written as // Using pthread_once(...) to initialize the thread-local data structures but at line 175, 183, code written as thread_local pthread_key_t key; // Ensure that we only actually ever do the pthread initialization once. thread_local bool UNUSED Unused = [] {