This removes the last use of StackDepot from StopTheWorld.
Depends on D115284.
Paths
| Differential D115319
[lsan] Move out suppression of invalid PCs from StopTheWorld ClosedPublic Authored by vitalybuka on Dec 7 2021, 10:48 PM.
Details
Diff Detail
Event Timelinevitalybuka added a parent revision: D115318: [NFC][lsan] Change LeakSuppressionContext interface.Dec 8 2021, 12:48 PM
morehouse added inline comments.
This revision is now accepted and ready to land.Dec 9 2021, 8:06 AM Closed by commit rGf86deb18cab6: [lsan] Move out suppression of invalid PCs from StopTheWorld (authored by vitalybuka). · Explain WhyDec 9 2021, 12:17 PM This revision was automatically updated to reflect the committed changes. Comment Actions For some reason this change makes Firefox Linux ASAN builds break our CI in a way that doesn't even leave logs (it looks like the workers completely die) Comment Actions
Sorry, no sure what to do with available info. sbc100 added inline comments.
Revision Contents
Diff 393251 compiler-rt/lib/lsan/lsan_common.cpp
|
I ran into an issue with this change when attempting to upgrade compiler-rt in emscripten.
It seems that this function will always return 0 if stack traces are disabled by doing malloc_context_size=0/1 ?
This means that SuppressInvalid always returns true and therefore everything get suppressed and not report is generated at add.
We have been recommending malloc_context_size=0/1 as a way to speed up msan/lsan under emscripten but this change seems to mean that completely disabled lsan (no report generated at all).
Does lsan now require malloc_context_size of at least 2?