[compiler-rt] [TSan][compiler-rt] Defer symbolization of Reports to as late as possible (PR #151120)

Dan Blackwell via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 01:07:52 PDT 2025


================
@@ -96,6 +96,7 @@ void ThreadFinalize(ThreadState *thr) {
     ScopedReport rep(ReportTypeThreadLeak);
     rep.AddThread(leaks[i].tctx, true);
     rep.SetCount(leaks[i].count);
+    rep.SymbolizeStackElems();
----------------
DanBlackwell wrote:

Good point, let me check that. I also need to see if any of the sanitizer interface callbacks would be adversely affected by having the symbolization moved.

https://github.com/llvm/llvm-project/pull/151120


More information about the llvm-commits mailing list