Page MenuHomePhabricator

[ci] enable second_deadlock_stack for TSan
ClosedPublic

Authored by majcosta on Jan 27 2021, 20:17.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCce2566d7e6fa: [ci] enable second_deadlock_stack for TSan
Summary

this gives us more informative error logs when TSan detects a lock inversion

Test Plan

invert a LOCK2(...) in a test somewhere

CC=clang CXX=clang++ cmake .. -GNinja -DENABLE_SANITIZERS=thread
ninja all check

make sure the TSan warning output is more informative

Diff Detail

Repository
rABC Bitcoin ABC
Branch
more_informative_tsan_warnings
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15024
Build 29999: Build Diffbuild-clang-tidy · build-without-wallet · build-clang · build-diff · build-debug
Build 29998: arc lint + arc unit