tsan: improve detection of stack/tls races
Print meaningful stack frames for stack/tls races (instead of PC 1/2 that don't symbolize). Imitate stack/tls writes after we create and initialize the new thread, otherwise the races are not detected. This is re-submit of the following reverted commits, but without tests as they failed on a number of OSes/arches: "tsan: fix and test detection of TLS races" "tsan: fix tls_race3 test on darwin" "tsan: print a meaningful frame for stack races" Differential Revision: https://reviews.llvm.org/D111147
Loading
Please sign in to comment