[libc++] (Take 2) Add a test that uses the debug database from multiple threads
authorLouis Dionne <ldionne@apple.com>
Wed, 17 Apr 2019 20:07:39 +0000 (20:07 +0000)
committerLouis Dionne <ldionne@apple.com>
Wed, 17 Apr 2019 20:07:39 +0000 (20:07 +0000)
commit09ef420d6254f945a50da07a0a71c2c7a93b6b12
tree52acd8c8c01ecd59da7481a8bc00d9fd02d0bdeb
parent25e592e52236669f72bfb54986c1197cc6b640cf
[libc++] (Take 2) Add a test that uses the debug database from multiple threads

In r358591, I added a test that uses the debug database from multiple
threads and that helped us uncover the problem that was fixed in r355367.
However, the test broke the tsan CI bots, and I think the problem is the
test allocator that was used in the test (which is not thread safe).

I'm committing again without using the test allocator, and in a separate
test file.

llvm-svn: 358610
libcxx/test/libcxx/debug/containers/db_sequence_container_iterators.multithread.pass.cpp [new file with mode: 0644]