Lines Matching full:origin

47 // Function argument origin. Each argument starts at the same offset as the
217 f->origin_history_size > Origin::kMaxDepth) { in InitializeFlags()
219 "Origin history size invalid: %d. Must be 0 (unlimited) or in [1, %d] " in InitializeFlags()
221 f->origin_history_size, Origin::kMaxDepth); in InitializeFlags()
229 "Origin per-stack limit invalid: %d. Must be 0 (unlimited) or in [1, " in InitializeFlags()
237 void PrintWarningWithOrigin(uptr pc, uptr bp, u32 origin) { in PrintWarningWithOrigin() argument
240 __msan_origin_tls = origin; in PrintWarningWithOrigin()
250 (__msan_get_track_origins() && Origin::isValidId(origin)) ? origin : 0; in PrintWarningWithOrigin()
253 if (__msan_get_track_origins() && !Origin::isValidId(origin)) { in PrintWarningWithOrigin()
255 " ORIGIN: invalid (%x). Might be a bug in MemorySanitizer origin " in PrintWarningWithOrigin()
257 origin); in PrintWarningWithOrigin()
305 Origin o = Origin::FromRawId(id); in ChainOrigin()
307 Origin chained = Origin::CreateChainedOrigin(o, stack); in ChainOrigin()
315 // '----' with a uniq id and set the origin to (id | (31-th bit)).
327 id = Origin::CreateStackOrigin(idx).raw_id(); in SetAllocaOrigin()
409 void __msan_warning_with_origin(u32 origin) { in __msan_warning_with_origin() argument
411 PrintWarningWithOrigin(pc, bp, origin); in __msan_warning_with_origin()
420 void __msan_warning_with_origin_noreturn(u32 origin) { in __msan_warning_with_origin_noreturn() argument
422 PrintWarningWithOrigin(pc, bp, origin); in __msan_warning_with_origin_noreturn()
600 void __msan_set_origin(const void *a, uptr size, u32 origin) { in __msan_set_origin() argument
601 if (__msan_get_track_origins()) SetOrigin(a, size, origin); in __msan_set_origin()
641 Origin o = Origin::FromRawId(this_id); in __msan_origin_is_descendant_or_same()