gcov / gcda-based profiling crashes when shared libraries are unloaded
Patch by Benoit Belley and test by Marco Castelluccio for Firefox
See https://bugs.llvm.org/show_bug.cgi?id=27224 & https://bugzilla.mozilla.org/show_bug.cgi?id=1401230
Differential D38124
Hide some symbols to avoid a crash on shutdown when using code coverage sylvestre.ledru on Sep 21 2017, 2:05 AM. Authored by
Details gcov / gcda-based profiling crashes when shared libraries are unloaded Patch by Benoit Belley and test by Marco Castelluccio for Firefox See https://bugs.llvm.org/show_bug.cgi?id=27224 & https://bugzilla.mozilla.org/show_bug.cgi?id=1401230
Diff Detail Event TimelineComment Actions Autodesk would also like to see this fix merged into LLVM 5.0.1 and we also agree about the importance of having a regression tests. @sylvestre.ledru : Is someone on the Firefox team working on writing a unit test for this ? Shall we jump-in and try to help ? Comment Actions I added two more reviewers as we would like to get that in trunk before 6.0 branches. Comment Actions The change was already positively reviewed with the request for a test, which has been written since then. |