|
Revision tags: llvmorg-20.1.0, llvmorg-20.1.0-rc3, llvmorg-20.1.0-rc2, llvmorg-20.1.0-rc1, llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5, llvmorg-14.0.4 |
|
| #
ad3fadda |
| 17-May-2022 |
Andrew Turner <[email protected]> |
[compiler-rt] Fix the longjmp sp slot on FreeBSD AArch64
The stack pointer is stored in the second slot in the jump buffer on AArch64. Use the correct slot value to read this rather than the followi
[compiler-rt] Fix the longjmp sp slot on FreeBSD AArch64
The stack pointer is stored in the second slot in the jump buffer on AArch64. Use the correct slot value to read this rather than the following register.
Reviewed by: melver
Differential Revision: https://reviews.llvm.org/D125762
show more ...
|
|
Revision tags: llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1, llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2, llvmorg-14.0.0-rc1, llvmorg-15-init, llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2 |
|
| #
b3321349 |
| 02-Dec-2021 |
Dmitry Vyukov <[email protected]> |
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 vecto
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/goroutimes
Depends on D112602.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D112603
show more ...
|
| #
396113c1 |
| 09-Dec-2021 |
Jonas Devlieghere <[email protected]> |
Revert "tsan: new runtime (v3)"
This reverts commit 5a33e412815b8847610425a2a3b86d2c7c313b71 becuase it breaks LLDB.
https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/39208/
|
| #
5a33e412 |
| 02-Dec-2021 |
Dmitry Vyukov <[email protected]> |
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 vecto
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/goroutimes
Depends on D112602.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D112603
show more ...
|
| #
09859113 |
| 01-Dec-2021 |
Dmitry Vyukov <[email protected]> |
Revert "tsan: new runtime (v3)"
This reverts commit 66d4ce7e26a5ab00f7e4946b6e1bac8f805010fa.
Chromium tests started failing: https://bugs.chromium.org/p/chromium/issues/detail?id=1275581
|
|
Revision tags: llvmorg-13.0.1-rc1, llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3, llvmorg-13.0.0-rc2, llvmorg-13.0.0-rc1, llvmorg-14-init, llvmorg-12.0.1, llvmorg-12.0.1-rc4, llvmorg-12.0.1-rc3, llvmorg-12.0.1-rc2, llvmorg-12.0.1-rc1 |
|
| #
66d4ce7e |
| 27-Apr-2021 |
Dmitry Vyukov <[email protected]> |
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 vecto
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/goroutimes
Depends on D112602.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D112603
show more ...
|
| #
1150f02c |
| 24-Nov-2021 |
Weverything <[email protected]> |
Revert "tsan: new runtime (v3)"
This reverts commit ebd47b0fb78fa11758da6ffcd3e6b415cbb8fa28. This was causing unexpected behavior in programs.
|
| #
ebd47b0f |
| 27-Apr-2021 |
Dmitry Vyukov <[email protected]> |
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 vecto
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/goroutimes
Differential Revision: https://reviews.llvm.org/D112603
show more ...
|
| #
5f18ae39 |
| 22-Nov-2021 |
Dmitry Vyukov <[email protected]> |
Revert "tsan: new runtime (v3)"
Summary: This reverts commit 1784fe0532a69ead17793bced060a9bf9d232027.
Broke some bots: https://lab.llvm.org/buildbot#builders/57/builds/12365 http://green.lab.llvm.
Revert "tsan: new runtime (v3)"
Summary: This reverts commit 1784fe0532a69ead17793bced060a9bf9d232027.
Broke some bots: https://lab.llvm.org/buildbot#builders/57/builds/12365 http://green.lab.llvm.org/green/job/clang-stage1-RA/25658/
Reviewers: vitalybuka, melver
Subscribers:
show more ...
|
| #
1784fe05 |
| 27-Apr-2021 |
Dmitry Vyukov <[email protected]> |
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 vecto
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/goroutimes
Depends on D112602.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D112603
show more ...
|
| #
79fbba9b |
| 12-Nov-2021 |
Dmitry Vyukov <[email protected]> |
Revert "tsan: new runtime (v3)"
Summary: This reverts commit ac95b8d9548cb3c07e60236d3e9e1fd05f79579b. There is a number of bot failures: http://45.33.8.238/mac/38755/step_4.txt https://green.lab.ll
Revert "tsan: new runtime (v3)"
Summary: This reverts commit ac95b8d9548cb3c07e60236d3e9e1fd05f79579b. There is a number of bot failures: http://45.33.8.238/mac/38755/step_4.txt https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/38135/consoleFull#-148886289949ba4694-19c4-4d7e-bec5-911270d8a58c
Reviewers: vitalybuka, melver
Subscribers:
show more ...
|
| #
ac95b8d9 |
| 27-Apr-2021 |
Dmitry Vyukov <[email protected]> |
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 vecto
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/goroutimes
Depends on D112602.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D112603
show more ...
|
| #
ae833dbb |
| 29-Oct-2021 |
Dmitry Vyukov <[email protected]> |
sanitizer_common: remove unnecessary GetMemoryProfile arg
stats_size argument is unnecessary in GetMemoryProfile and in the callback. It just clutters code. The callback knowns how many stats to exp
sanitizer_common: remove unnecessary GetMemoryProfile arg
stats_size argument is unnecessary in GetMemoryProfile and in the callback. It just clutters code. The callback knowns how many stats to expect.
Depends on D112789.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D112790
show more ...
|
| #
c483140f |
| 05-Oct-2021 |
Dmitry Vyukov <[email protected]> |
tsan: improve detection of stack/tls races
Print meaningful stack frames for stack/tls races (instead of PC 1/2 that don't symbolize).
Imitate stack/tls writes after we create and initialize the ne
tsan: improve detection of stack/tls races
Print meaningful stack frames for stack/tls races (instead of PC 1/2 that don't symbolize).
Imitate stack/tls writes after we create and initialize the 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: "tsan: fix and test detection of TLS races" "tsan: fix tls_race3 test on darwin" "tsan: print a meaningful frame for stack races"
Differential Revision: https://reviews.llvm.org/D111147
show more ...
|
| #
103c1bd1 |
| 01-Oct-2021 |
Amy Kwan <[email protected]> |
Revert "tsan: fix and test detection of TLS races"
This reverts commit b4c1e5cb73bd26e5853af77c2a235ca9f35e2577.
Reverting this as it contains a test that is currently failing on the PPC BE bots.
|
| #
7c1128f3 |
| 28-Sep-2021 |
Vitaly Buka <[email protected]> |
[NFC][sanitizer] Return StackDepotStats by value
Differential Revision: https://reviews.llvm.org/D110644
|
| #
4f6a6ba1 |
| 28-Sep-2021 |
Ahsan Saghir <[email protected]> |
Revert "tsan: fix trace tests on darwin"
This reverts commit 94ea36649ecc854d290c6797e6adb91bdfac756d.
Reverting due to errors on buildbots.
|
| #
94ea3664 |
| 27-Sep-2021 |
Dmitry Vyukov <[email protected]> |
tsan: fix trace tests on darwin
The trace tests crashed on darwin because of some thread initialization issues (thread initialization is somewhat different on darwin). Instead of starting real threa
tsan: fix trace tests on darwin
The trace tests crashed on darwin because of some thread initialization issues (thread initialization is somewhat different on darwin). Instead of starting real threads, create a new ThreadState in the main thread. This makes the tests more unit-testy and hopefully won't crash on darwin (there is almost no platform-specific code involved now). This will also help with future trace tests that will need more than 1 thread. Creating more than 1 real thread and dispatching test actions across multiple threads in the required deterministic order is painful.
Depends on D110539.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D110546
show more ...
|
| #
b4c1e5cb |
| 27-Sep-2021 |
Dmitry Vyukov <[email protected]> |
tsan: fix and test detection of TLS races
Currently detection of races with TLS/stack initialization is broken because we imitate the write before thread initialization, so it's modelled with a wron
tsan: fix and test detection of TLS races
Currently detection of races with TLS/stack initialization is broken because we imitate the write before thread initialization, so it's modelled with a wrong thread/epoch. Fix that and add a test.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D110538
show more ...
|
| #
1455b552 |
| 27-Sep-2021 |
Dmitry Vyukov <[email protected]> |
tsan: de-hardcode MemCount const
Use MemCount instead of hard-coded value 7.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D110532
|
| #
20d3e518 |
| 22-Sep-2021 |
Dmitry Vyukov <[email protected]> |
tsan: use RawShadow instead of u64 more
Fix few remaining cases where we use u64 instead of the new RawShadow type.
Depends on D110265.
Reviewed By: melver
Differential Revision: https://reviews.
tsan: use RawShadow instead of u64 more
Fix few remaining cases where we use u64 instead of the new RawShadow type.
Depends on D110265.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D110266
show more ...
|
| #
af8b14c2 |
| 22-Sep-2021 |
Dmitry Vyukov <[email protected]> |
tsan: remove unnecessary enum values (NFC)
Remove unnecessary enum values in the memory profiler. There is no point in spelling them, it can only lead to bugs and larger diffs when values are added/
tsan: remove unnecessary enum values (NFC)
Remove unnecessary enum values in the memory profiler. There is no point in spelling them, it can only lead to bugs and larger diffs when values are added/removed.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D110263
show more ...
|
| #
0ee77d6d |
| 21-Sep-2021 |
Dmitry Vyukov <[email protected]> |
tsan: write uptime in mem profile
Write uptime in real time seconds for every mem profile record. Uptime is useful to make more sense out of the profile, compare random lines, etc.
Depends on D1101
tsan: write uptime in mem profile
Write uptime in real time seconds for every mem profile record. Uptime is useful to make more sense out of the profile, compare random lines, etc.
Depends on D110153.
Reviewed By: melver, vitalybuka
Differential Revision: https://reviews.llvm.org/D110154
show more ...
|
| #
b8aa9b0c |
| 21-Sep-2021 |
Dmitry Vyukov <[email protected]> |
tsan: include internal allocator info in mem profile
We allocate things from the internal allocator, it's useful to know how much it consumes.
Depends on D110150.
Reviewed By: melver, vitalybuka
tsan: include internal allocator info in mem profile
We allocate things from the internal allocator, it's useful to know how much it consumes.
Depends on D110150.
Reviewed By: melver, vitalybuka
Differential Revision: https://reviews.llvm.org/D110151
show more ...
|
| #
58a157cd |
| 21-Sep-2021 |
Dmitry Vyukov <[email protected]> |
tsan: make mem profile data more consistent
We currently query number of threads before reading /proc/self/smaps. But reading /proc/self/smaps can take lots of time for huge processes and it's retri
tsan: make mem profile data more consistent
We currently query number of threads before reading /proc/self/smaps. But reading /proc/self/smaps can take lots of time for huge processes and it's retries several times with different buffer sizes. Overall it can take tens of seconds. This can make number of threads significantly inconsistent with the rest of the stats. So query it after reading /proc/self/smaps.
Depends on D110149.
Reviewed By: melver, vitalybuka
Differential Revision: https://reviews.llvm.org/D110150
show more ...
|