<?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 tsan_platform_mac.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>2f469839 - [Sanitizer][Darwin] Factor out code for GCD worker registration</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#2f469839</link>
        <description>[Sanitizer][Darwin] Factor out code for GCD worker registrationThis is a NFC change to factor out GCD worker thread registration viathe pthread introspection hook.In a follow-up change we also want to register GCD workers for ASan tomake sure threads are registered before we attempt to print reports onthem.rdar://93276353Differential Revision: https://reviews.llvm.org/D126351

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Fri, 22 Jul 2022 18:33:35 +0000</pubDate>
        <dc:creator>Julian Lettner &lt;julian.lettner@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>8246b2e1 - [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#8246b2e1</link>
        <description>[Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source filesThis is a follow up to [Sanitizers][Darwin] Rename Apple macro SANITIZER_MAC -&gt; SANITIZER_APPLE (D125816)Performed a global search/replace as in title against LLVM sourcesDifferential Revision: https://reviews.llvm.org/D126263

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Mon, 23 May 2022 21:35:42 +0000</pubDate>
        <dc:creator>Mariusz Borsa &lt;m_borsa@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>b3321349 - tsan: new runtime (v3)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#b3321349</link>
        <description>tsan: new runtime (v3)This change switches tsan to the new runtime which features: - 2x smaller shadow memory (2x of app memory) - faster fully vectorized race detection - small fixed-size vector clocks (512b) - fast vectorized vector clock operations - unlimited number of alive threads/goroutimesDepends on D112602.Reviewed By: melverDifferential Revision: https://reviews.llvm.org/D112603

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Thu, 02 Dec 2021 07:36:44 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>396113c1 - Revert &quot;tsan: new runtime (v3)&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#396113c1</link>
        <description>Revert &quot;tsan: new runtime (v3)&quot;This reverts commit 5a33e412815b8847610425a2a3b86d2c7c313b71 becuase itbreaks LLDB.https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/39208/

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Thu, 09 Dec 2021 17:18:10 +0000</pubDate>
        <dc:creator>Jonas Devlieghere &lt;jonas@devlieghere.com&gt;</dc:creator>
    </item>
<item>
        <title>5a33e412 - tsan: new runtime (v3)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#5a33e412</link>
        <description>tsan: new runtime (v3)This change switches tsan to the new runtime which features: - 2x smaller shadow memory (2x of app memory) - faster fully vectorized race detection - small fixed-size vector clocks (512b) - fast vectorized vector clock operations - unlimited number of alive threads/goroutimesDepends on D112602.Reviewed By: melverDifferential Revision: https://reviews.llvm.org/D112603

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Thu, 02 Dec 2021 07:36:44 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>09859113 - Revert &quot;tsan: new runtime (v3)&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#09859113</link>
        <description>Revert &quot;tsan: new runtime (v3)&quot;This reverts commit 66d4ce7e26a5ab00f7e4946b6e1bac8f805010fa.Chromium tests started failing:https://bugs.chromium.org/p/chromium/issues/detail?id=1275581

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Wed, 01 Dec 2021 16:55:14 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>858eb8fc - [TSan][Darwin] Avoid crashes due to interpreting non-zero shadow content as a pointer</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#858eb8fc</link>
        <description>[TSan][Darwin] Avoid crashes due to interpreting non-zero shadow content as a pointerWe would like to use TLS to store the ThreadState object (or at least areference ot it), but on Darwin accessing TLS via __thread or manuallyby using pthread_key_* is problematic, because there are several placeswhere interceptors are called when TLS is not accessible (early processstartup, thread cleanup, ...).Previously, we used a &quot;poor man&apos;s TLS&quot; implementation, where we use theshadow memory of the pointer returned by pthread_self() to store apointer to the ThreadState object.The problem with that was that certain operations can populate shadowbytes unbeknownst to TSan, and we later interpret these non-zero bytesas the pointer to our ThreadState object and crash on when dereferencingthe pointer.This patch changes the storage location of our reference to theThreadState object to &quot;real&quot; TLS.  We make this work by artificiallykeeping this reference alive in the pthread_key destructor by resettingthe key value with pthread_setspecific().This change also fixes the issue were the ThreadState object isre-allocated after DestroyThreadState() because intercepted functionscan still get called on the terminating thread after theTHREAD_TERMINATE event.Radar-Id: rdar://problem/72010355Reviewed By: dvyukovDifferential Revision: https://reviews.llvm.org/D110236

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 30 Nov 2021 20:12:14 +0000</pubDate>
        <dc:creator>Julian Lettner &lt;julian.lettner@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>66d4ce7e - tsan: new runtime (v3)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#66d4ce7e</link>
        <description>tsan: new runtime (v3)This change switches tsan to the new runtime which features: - 2x smaller shadow memory (2x of app memory) - faster fully vectorized race detection - small fixed-size vector clocks (512b) - fast vectorized vector clock operations - unlimited number of alive threads/goroutimesDepends on D112602.Reviewed By: melverDifferential Revision: https://reviews.llvm.org/D112603

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 27 Apr 2021 11:55:41 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>1150f02c - Revert &quot;tsan: new runtime (v3)&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#1150f02c</link>
        <description>Revert &quot;tsan: new runtime (v3)&quot;This reverts commit ebd47b0fb78fa11758da6ffcd3e6b415cbb8fa28.This was causing unexpected behavior in programs.

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Wed, 24 Nov 2021 01:51:32 +0000</pubDate>
        <dc:creator>Weverything &lt;rtrieu@google.com&gt;</dc:creator>
    </item>
<item>
        <title>ebd47b0f - tsan: new runtime (v3)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#ebd47b0f</link>
        <description>tsan: new runtime (v3)This change switches tsan to the new runtime which features: - 2x smaller shadow memory (2x of app memory) - faster fully vectorized race detection - small fixed-size vector clocks (512b) - fast vectorized vector clock operations - unlimited number of alive threads/goroutimesDifferential Revision: https://reviews.llvm.org/D112603

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 27 Apr 2021 11:55:41 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>5f18ae39 - Revert &quot;tsan: new runtime (v3)&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#5f18ae39</link>
        <description>Revert &quot;tsan: new runtime (v3)&quot;Summary:This reverts commit 1784fe0532a69ead17793bced060a9bf9d232027.Broke some bots:https://lab.llvm.org/buildbot#builders/57/builds/12365http://green.lab.llvm.org/green/job/clang-stage1-RA/25658/Reviewers: vitalybuka, melverSubscribers:

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Mon, 22 Nov 2021 18:03:48 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>1784fe05 - tsan: new runtime (v3)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#1784fe05</link>
        <description>tsan: new runtime (v3)This change switches tsan to the new runtime which features: - 2x smaller shadow memory (2x of app memory) - faster fully vectorized race detection - small fixed-size vector clocks (512b) - fast vectorized vector clock operations - unlimited number of alive threads/goroutimesDepends on D112602.Reviewed By: melverDifferential Revision: https://reviews.llvm.org/D112603

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 27 Apr 2021 11:55:41 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>79fbba9b - Revert &quot;tsan: new runtime (v3)&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#79fbba9b</link>
        <description>Revert &quot;tsan: new runtime (v3)&quot;Summary:This reverts commit ac95b8d9548cb3c07e60236d3e9e1fd05f79579b.There is a number of bot failures:http://45.33.8.238/mac/38755/step_4.txthttps://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/38135/consoleFull#-148886289949ba4694-19c4-4d7e-bec5-911270d8a58cReviewers: vitalybuka, melverSubscribers:

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Fri, 12 Nov 2021 16:43:26 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>ac95b8d9 - tsan: new runtime (v3)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#ac95b8d9</link>
        <description>tsan: new runtime (v3)This change switches tsan to the new runtime which features: - 2x smaller shadow memory (2x of app memory) - faster fully vectorized race detection - small fixed-size vector clocks (512b) - fast vectorized vector clock operations - unlimited number of alive threads/goroutimesDepends on D112602.Reviewed By: melverDifferential Revision: https://reviews.llvm.org/D112603

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 27 Apr 2021 11:55:41 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>bb168f32 - [compiler-rt] update detect_write_exec option for apple devices.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#bb168f32</link>
        <description>[compiler-rt] update detect_write_exec option for apple devices.Reviewed By: yln, vitalybukaDifferential Revision: https://reviews.llvm.org/D111390

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Thu, 28 Oct 2021 16:08:23 +0000</pubDate>
        <dc:creator>David CARLIER &lt;devnexen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>c483140f - tsan: improve detection of stack/tls races</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#c483140f</link>
        <description>tsan: improve detection of stack/tls racesPrint meaningful stack frames for stack/tls races(instead of PC 1/2 that don&apos;t symbolize).Imitate stack/tls writes after we create and initializethe new thread, otherwise the races are not detected.This is re-submit of the following reverted commits,but without tests as they failed on a number of OSes/arches:&quot;tsan: fix and test detection of TLS races&quot;&quot;tsan: fix tls_race3 test on darwin&quot;&quot;tsan: print a meaningful frame for stack races&quot;Differential Revision: https://reviews.llvm.org/D111147

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 05 Oct 2021 13:26:02 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
<item>
        <title>8b1984bb - Revert &quot;tsan: fix tls_race3 test on darwin&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#8b1984bb</link>
        <description>Revert &quot;tsan: fix tls_race3 test on darwin&quot;This reverts commit ade5023c54cffcbefe0557b5473d55b06e40809b.Reverting this commit as it is dependent on a test breaking the PPC BE bots.

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Fri, 01 Oct 2021 21:35:15 +0000</pubDate>
        <dc:creator>Amy Kwan &lt;amy.kwan1@ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>7c1128f3 - [NFC][sanitizer] Return StackDepotStats by value</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#7c1128f3</link>
        <description>[NFC][sanitizer] Return StackDepotStats by valueDifferential Revision: https://reviews.llvm.org/D110644

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 28 Sep 2021 18:20:18 +0000</pubDate>
        <dc:creator>Vitaly Buka &lt;vitalybuka@google.com&gt;</dc:creator>
    </item>
<item>
        <title>bfa50250 - [NFC][sanitizer] Clang-format some code</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#bfa50250</link>
        <description>[NFC][sanitizer] Clang-format some code

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 28 Sep 2021 17:04:41 +0000</pubDate>
        <dc:creator>Vitaly Buka &lt;vitalybuka@google.com&gt;</dc:creator>
    </item>
<item>
        <title>ade5023c - tsan: fix tls_race3 test on darwin</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp#ade5023c</link>
        <description>tsan: fix tls_race3 test on darwinDarwin also needs to use __tsan_tls_initializationto pass the test.Differential Revision: https://reviews.llvm.org/D110631

            List of files:
            /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp</description>
        <pubDate>Tue, 28 Sep 2021 14:59:45 +0000</pubDate>
        <dc:creator>Dmitry Vyukov &lt;dvyukov@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
