aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-10-05 15:26:02 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-10-05 15:32:39 +0200
commitc483140f3ce28ea243d414dd0dee0c0f13c5b01c (patch)
treebbdeef1dc9d21af4876346a33deb63c5c069ee68 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent070b0af9b813443a1db0550478389ba05f9820c8 (diff)
downloadllvm-c483140f3ce28ea243d414dd0dee0c0f13c5b01c.zip
llvm-c483140f3ce28ea243d414dd0dee0c0f13c5b01c.tar.gz
llvm-c483140f3ce28ea243d414dd0dee0c0f13c5b01c.tar.bz2
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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions