<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in ignore_lib6.cpp.supp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>2dcbdba8 - tsan: fix pthread_detach with called_from_lib suppressions</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/test/tsan/ignore_lib6.cpp.supp#2dcbdba8</link>
        <description>tsan: fix pthread_detach with called_from_lib suppressionsGenerally we ignore interceptors coming from called_from_lib-suppressed libraries.However, we must not ignore critical interceptors like e.g. pthread_create,otherwise runtime will lost track of threads.pthread_detach is one of these interceptors we should not ignore as it affectsthread states and behavior of pthread_join which we don&apos;t ignore as well.Currently we can produce very obscure false positives. For more context see:https://groups.google.com/forum/#!topic/thread-sanitizer/ecH2P0QUqPsThe added test captures this pattern.While we are here rename ThreadTid to ThreadConsumeTid to make it clear thatit&apos;s not just a &quot;getter&quot;, it resets user_id to 0. This lead to confusion recently.Reviewed in https://reviews.llvm.org/D74828

            List of files:
            /llvm-project-15.0.7/compiler-rt/test/tsan/ignore_lib6.cpp.supp</description>
        <pubDate>Wed, 19 Feb 2020 13:18:53 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
