aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-03-14 17:19:34 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-03-14 17:19:34 +0000
commitfa3f6401daec574a647a5a119912fb7ec86a43d5 (patch)
tree13bae43bd1477fa8a7daf33d2e1b881af4d9fe4d /llvm/lib/CodeGen/MachineInstr.cpp
parent702411fc298032a2e700907cc3d6136d5b46afe7 (diff)
downloadllvm-fa3f6401daec574a647a5a119912fb7ec86a43d5.zip
llvm-fa3f6401daec574a647a5a119912fb7ec86a43d5.tar.gz
llvm-fa3f6401daec574a647a5a119912fb7ec86a43d5.tar.bz2
[Reproducers] Fix data race found by tsan
This fixes a data race uncovered by tsan during destruction of the GDBRemoteReplay server. The solution is to lock the thread state mutex when receiving packets. llvm-svn: 356168
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions