search for: getthreadid

Displaying 3 results from an estimated 3 matches for "getthreadid".

Did you mean: get_thread_id
2018 Jan 04
0
writing llvm pass to instrument read and write
...getContext()), 1); instrument_access(Ptr, &(*SI),write, M); modified = true; } } } void instrument_access(Value* op, Instruction* inst, Constant* rdWr, Module& module) { SmallVector<Value*, 8> args; Instruction* get_tid = CallInst::Create(getThreadId, args, "", inst); BitCastInst* bitcast = new BitCastInst(op, PointerType::getUnqual(Type::getInt8Ty(module.getContext())), "", inst); args.push_back(get_tid); args.push_back(bitcast); args.push_back(rdWr); Instruction* recordRWCall =...
2018 Jan 04
0
writing llvm pass for external library
...getContext()), 1); instrument_access(Ptr, &(*SI),write, M); modified = true; } } } void instrument_access(Value* op, Instruction* inst, Constant* rdWr, Module& module) { SmallVector<Value*, 8> args; Instruction* get_tid = CallInst::Create(getThreadId, args, "", inst); BitCastInst* bitcast = new BitCastInst(op, PointerType::getUnqual(Type::getInt8Ty(module.getContext())), "", inst); args.push_back(get_tid); args.push_back(bitcast); args.push_back(rdWr); Instruction* recordRWCall =...
2007 Nov 30
0
Wine release 0.9.50
...to release the reference on the IRemUnknown object. oleaut32: Handle non-byref safe arrays in VARIANT_UserFree. server: In set_user_object_info len is in bytes, not WCHARs. ntdll: Initialise the part of the buffer to be written to a file in the file test. kernel32: Implement GetThreadId. ole32: Fail before constructing an object in CreateStreamOnHGlobal to avoid a memory leak. ole32: Release the stream in COM_RevokeRegisteredClassObject. ole32: Fix a memory leak in the HGLOBAL stream tests by telling CreateStreamOnHGlobal to free the memory it allocates, as we do...