HomePhabricator

[ci] enable second_deadlock_stack for TSan

Description

[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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D9090

Details

Provenance
majcostaAuthored on Jan 27 2021, 17:00
majcostaPushed on Jan 28 2021, 15:44
Reviewer
Restricted Project
Differential Revision
D9090: [ci] enable second_deadlock_stack for TSan
Parents
rABCa2a9c5790d5d: [backport#18726] test: check misbehavior more independently in p2p_filter.py
Branches
Unknown
Tags
Unknown