While working on rdar://problem/62083617 I noticed this call was
missing.
This is a no-op for all platforms except Darwin. For Darwin this
means the use_xnu_fast_mmap flag is initialized as it was intended
when using UBSan in standalone mode.
Differential D78532
Add missing call to `__sanitizer::InitializePlatformEarly()` in UBSan's standalone init. delcypher on Apr 20 2020, 6:56 PM. Authored by
Details While working on rdar://problem/62083617 I noticed this call was This is a no-op for all platforms except Darwin. For Darwin this
Diff Detail
Event TimelineComment Actions So technically this is not necessary (standalone UBSan does not mmap memory), but good for consistency in case it stops being a noop? |