[LSAN] Enabled only with ANDROID_API >= 28
Code does not work as-is with emulated tls even if
lsan is disabled with runtime flag.
[LSAN] Enabled only with __ANDROID_API__ >= 28 vitalybuka on Nov 4 2020, 9:42 PM. Authored by
Description
Details
Event TimelineComment Actions It crashes on ubsan tests on "bool DisabledInThisThread() { return disable_counter > 0; }" Comment Actions Runtime flag around "disable_counter" kind of works, but it requires some investigation to be sure. I landed this to fix the bot. if (!common_flags()->detect_leaks) return true; Comment Actions I've tried it before. Didn't seem to work.
Are you sure it crashes *only* in ubsan tests? This should be a problem for all leak-related tests, no? |