Lines Matching refs:Meta
48 void setupBacktraces(AllocationMetadata *Meta) { in setupBacktraces() argument
49 Meta->AllocationTrace.TraceSize = gwp_asan::compression::pack( in setupBacktraces()
51 Meta->AllocationTrace.CompressedTrace, in setupBacktraces()
54 if (Meta->IsDeallocated) in setupBacktraces()
55 Meta->DeallocationTrace.TraceSize = gwp_asan::compression::pack( in setupBacktraces()
57 Meta->DeallocationTrace.CompressedTrace, in setupBacktraces()
61 void checkBacktrace(const AllocationMetadata *Meta, bool IsDeallocated) { in checkBacktrace() argument
65 Meta, Buffer, kNumBacktraceConstants)); in checkBacktrace()
71 __gwp_asan_get_deallocation_trace(Meta, Buffer, in checkBacktrace()
79 const AllocationMetadata *Meta = in checkMetadata() local
81 EXPECT_NE(nullptr, Meta); in checkMetadata()
82 EXPECT_EQ(Metadata[Index].Addr, __gwp_asan_get_allocation_address(Meta)); in checkMetadata()
84 __gwp_asan_get_allocation_size(Meta)); in checkMetadata()
86 __gwp_asan_get_allocation_thread_id(Meta)); in checkMetadata()
88 bool IsDeallocated = __gwp_asan_is_deallocated(Meta); in checkMetadata()
90 checkBacktrace(Meta, IsDeallocated); in checkMetadata()
96 __gwp_asan_get_deallocation_thread_id(Meta)); in checkMetadata()