Lines Matching full:origin
45 // Function argument origin. Each argument starts at the same offset as the
200 f->origin_history_size > Origin::kMaxDepth) { in InitializeFlags()
202 "Origin history size invalid: %d. Must be 0 (unlimited) or in [1, %d] " in InitializeFlags()
204 f->origin_history_size, Origin::kMaxDepth); in InitializeFlags()
212 "Origin per-stack limit invalid: %d. Must be 0 (unlimited) or in [1, " in InitializeFlags()
236 void PrintWarningWithOrigin(uptr pc, uptr bp, u32 origin) { in PrintWarningWithOrigin() argument
239 __msan_origin_tls = origin; in PrintWarningWithOrigin()
249 (__msan_get_track_origins() && Origin::isValidId(origin)) ? origin : 0; in PrintWarningWithOrigin()
252 if (__msan_get_track_origins() && !Origin::isValidId(origin)) { in PrintWarningWithOrigin()
254 " ORIGIN: invalid (%x). Might be a bug in MemorySanitizer origin " in PrintWarningWithOrigin()
256 origin); in PrintWarningWithOrigin()
302 Origin o = Origin::FromRawId(id); in ChainOrigin()
304 Origin chained = Origin::CreateChainedOrigin(o, stack); in ChainOrigin()
519 void __msan_set_origin(const void *a, uptr size, u32 origin) { in __msan_set_origin() argument
520 if (__msan_get_track_origins()) SetOrigin(a, size, origin); in __msan_set_origin()
525 // and set the origin to (id | (31-th bit)).
549 id = Origin::CreateStackOrigin(idx).raw_id(); in __msan_set_alloca_origin4()
575 Origin o = Origin::FromRawId(this_id); in __msan_origin_is_descendant_or_same()