Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4 |
|
#
87f4bc0a |
| 06-Nov-2024 |
Martin Storsjö <martin@martin.st> |
[compiler-rt] [fuzzer] Skip trying to set the thread name on MinGW (#115167)
Since b4130bee6bfd34d8045f02fc9f951bcb5db9d85c, we check for
_LIBCPP_HAS_THREAD_API_PTHREAD to decide between using
Set
[compiler-rt] [fuzzer] Skip trying to set the thread name on MinGW (#115167)
Since b4130bee6bfd34d8045f02fc9f951bcb5db9d85c, we check for
_LIBCPP_HAS_THREAD_API_PTHREAD to decide between using
SetThreadDescription or pthread_setname_np for setting the thread name.
c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c changed how libcxx defines
their configuration macros - now they are always defined, but defined to
0 or 1, while they previously were either defined or undefined.
As these libcxx defines used to be defined to an empty string (rather
than expanding to 1) if enabled, we can't easily produce an expression
that works both with older and newer libcxx. Additionally, these defines
are libcxx internal config macros that aren't a detail that isn't
supported and isn't meant to be relied upon.
Simply skip trying to set thread name on MinGW as we can't easily know
which kind of thread native handle we have. Setting the thread name is
only a nice to have, quality of life improvement - things should work
the same even without it.
Additionally, libfuzzer isn't generally usable on MinGW targets yet
(Clang doesn't include it in the getSupportedSanitizers() method for the
MinGW target), so this shouldn't make any difference in practice anyway.
show more ...
|
Revision tags: llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1 |
|
#
b4130bee |
| 24-Sep-2024 |
Zentrik <llvm.zentrik@gmail.com> |
Fix libFuzzer not building with pthreads on Windows (#109525)
Fixes https://github.com/llvm/llvm-project/issues/106871
|
Revision tags: llvmorg-19.1.0, llvmorg-19.1.0-rc4 |
|
#
b32dc677 |
| 02-Sep-2024 |
Martin Storsjö <martin@martin.st> |
Revert "[compiler-rt][fuzzer] SetThreadName build fix for Mingwin attempt (#106902)"
This reverts commit 7c4cffd9d8be424e9e9542be9aec3b5a6f69073e.
This commit broke compilation in environments that
Revert "[compiler-rt][fuzzer] SetThreadName build fix for Mingwin attempt (#106902)"
This reverts commit 7c4cffd9d8be424e9e9542be9aec3b5a6f69073e.
This commit broke compilation in environments that don't use winpthreads.
show more ...
|
#
7c4cffd9 |
| 01-Sep-2024 |
David CARLIER <devnexen@gmail.com> |
[compiler-rt][fuzzer] SetThreadName build fix for Mingwin attempt (#106902)
|
Revision tags: llvmorg-19.1.0-rc3 |
|
#
7202fe58 |
| 11-Aug-2024 |
Alexandre Ganea <aganea@havenstudios.com> |
[compiler-rt] Silence warnings
This fixes a few of these warnings, when building with Clang ToT on Windows: ``` [622/7618] Building CXX object projects\compiler-rt\lib\sanitizer_common\CMakeFiles\RT
[compiler-rt] Silence warnings
This fixes a few of these warnings, when building with Clang ToT on Windows: ``` [622/7618] Building CXX object projects\compiler-rt\lib\sanitizer_common\CMakeFiles\RTSanitizerCommonSymbolizer.x86_64.dir\sanitizer_symbolizer_win.cpp.obj C:\src\git\llvm-project\compiler-rt\lib\sanitizer_common\sanitizer_symbolizer_win.cpp(74,3): warning: cast from 'FARPROC' (aka 'long long (*)()') to 'decltype(::StackWalk64) *' (aka 'int (*)(unsigned long, void *, void *, _tagSTACKFRAME64 *, void *, int (*)(void *, unsigned long long, void *, unsigned long, unsigned long *), void *(*)(void *, unsigned long long), unsigned long long (*)(void *, unsigned long long), unsigned long long (*)(void *, void *, _tagADDRESS64 *))') converts to incompatible function type [-Wcast-function-type-mismatch] ```
This is similar to https://github.com/llvm/llvm-project/pull/97905
show more ...
|
Revision tags: llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init |
|
#
b4b17d97 |
| 06-Jul-2024 |
Alexandre Ganea <aganea@havenstudios.com> |
Revert "[compiler-rt] Silence function cast warning when building with Clang ToT targetting Windows"
This reverts commit 10e1b935e5d9017067207d62ababa733df088ecd.
|
#
10e1b935 |
| 06-Jul-2024 |
Alexandre Ganea <aganea@havenstudios.com> |
[compiler-rt] Silence function cast warning when building with Clang ToT targetting Windows
|
Revision tags: 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 |
|
#
e932fe88 |
| 08-Mar-2024 |
David CARLIER <devnexen@gmail.com> |
[compiler-rt][Fuzzer] fix windows typo (#84407)
|
#
8bf8d36f |
| 07-Mar-2024 |
David CARLIER <devnexen@gmail.com> |
[compiler-rt][fuzzer] Reland "SetThreadName windows implementation" (#83562)
Following-up on GH-76761.
|
#
d1538c15 |
| 01-Mar-2024 |
David CARLIER <devnexen@gmail.com> |
Revert fuzzer windows changes (#83551)
|
#
062d78ef |
| 01-Mar-2024 |
David CARLIER <devnexen@gmail.com> |
[compiler-rt][fuzzer] windows build unbreak proposal. (#83538)
shuffling the order of its includes.
|
#
2cdf611c |
| 01-Mar-2024 |
David CARLIER <devnexen@gmail.com> |
[compiler-rt][Fuzzer] SetThreadName windows implementation new try. (#76761)
SetThreadDescription symbol needs to be dynamically loaded before usage.
Then using a wide string buffer, since we re us
[compiler-rt][Fuzzer] SetThreadName windows implementation new try. (#76761)
SetThreadDescription symbol needs to be dynamically loaded before usage.
Then using a wide string buffer, since we re using a null terminated
string, we can use MultiByteToWideChar -1 as 4th argument to finally set
the thread name.
Previously `SetThreadDescription` was called directly causing crash.
It was reverted in dd3aa26fc8e9de37a39611f7a6a602bcb4153784
show more ...
|
Revision tags: 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 |
|
#
dd3aa26f |
| 28-Aug-2023 |
Vitaly Buka <vitalybuka@google.com> |
Revert "[Fuzzer] SetThreadName implementation for Windows"
Fails with "The procedure entry point SetThreadDescription could not be located in the dynamic link library..."
This reverts commit cf76dd
Revert "[Fuzzer] SetThreadName implementation for Windows"
Fails with "The procedure entry point SetThreadDescription could not be located in the dynamic link library..."
This reverts commit cf76ddcbeb10be1f3eee5fa86dc41f9ca2435d50.
show more ...
|
#
151e33c7 |
| 28-Aug-2023 |
Vitaly Buka <vitalybuka@google.com> |
[NFC][fuzzer] Cleanup SetThreadName after D156317
|
#
45eb6026 |
| 28-Aug-2023 |
Vitaly Buka <vitalybuka@google.com> |
[fuzzer] Try to fix windows build after D156317
|
#
e0e8695a |
| 28-Aug-2023 |
Vitaly Buka <vitalybuka@google.com> |
Revert "[fuzzer] Try to fix windows build after D156317"
Will not work, string::data() returns const char*;
This reverts commit d364597f8a479a4e223bc3194f5584f26b5aa7a5.
|
#
d364597f |
| 28-Aug-2023 |
Vitaly Buka <vitalybuka@google.com> |
[fuzzer] Try to fix windows build after D156317
|
#
cf76ddcb |
| 28-Aug-2023 |
David CARLIER <devnexen@gmail.com> |
[Fuzzer] SetThreadName implementation for Windows
Api available since Windows Server 2016/Windows 10 1607
Reviewers: vitalybuka
Reviewed-By: vitalybuka
Differential Revison: https://reviews.llvm.
[Fuzzer] SetThreadName implementation for Windows
Api available since Windows Server 2016/Windows 10 1607
Reviewers: vitalybuka
Reviewed-By: vitalybuka
Differential Revison: https://reviews.llvm.org/D156317
show more ...
|
Revision tags: llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1 |
|
#
cb924ddc |
| 28-Jul-2023 |
David Carlier <devnexen@gmail.com> |
Revert "[Fuzzer] SetThreadName implementation for Windows"
This reverts commit 885275bff21512fca5dcdaf1b3a30c62dcc585e6.
|
#
885275bf |
| 28-Jul-2023 |
David CARLIER <devnexen@gmail.com> |
[Fuzzer] SetThreadName implementation for Windows
Api available since Windows Server 2016/Windows 10 1607
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D156317
|
#
f4aa7b5b |
| 27-Jul-2023 |
Vitaly Buka <vitalybuka@google.com> |
Revert "[Fuzzer] SetThreadName implementation for Windows"
Breaks window bot.
This reverts commit e3f935c7f80cfb8bdcbe0479672bc92485eecd85.
|
#
e3f935c7 |
| 27-Jul-2023 |
David CARLIER <devnexen@gmail.com> |
[Fuzzer] SetThreadName implementation for Windows
Api available since Windows Server 2016/Windows 10 1607.
Reviewers: vitalybuka
Reviewed-By: vitalybuka
Differential Revision: https://reviews.llv
[Fuzzer] SetThreadName implementation for Windows
Api available since Windows Server 2016/Windows 10 1607.
Reviewers: vitalybuka
Reviewed-By: vitalybuka
Differential Revision: https://reviews.llvm.org/D156317
show more ...
|
#
b2a25385 |
| 26-Jul-2023 |
David CARLIER <devnexen@gmail.com> |
[Fuzzer] Assign names to workers
Allow to have a name for workers in case the fuzzed code is itself using threads.
Reviewers: vitalybuka
Reviewed-By: vitalybuka
Differential Revision: https://rev
[Fuzzer] Assign names to workers
Allow to have a name for workers in case the fuzzed code is itself using threads.
Reviewers: vitalybuka
Reviewed-By: vitalybuka
Differential Revision: https://reviews.llvm.org/D155754
show more ...
|
Revision tags: llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5 |
|
#
facf22b8 |
| 26-May-2023 |
Vitaly Buka <vitalybuka@google.com> |
[fuzzer] Platfom specific version of PageSize
|
Revision tags: 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, working, 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, 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, llvmorg-13.0.1-rc1, llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3, llvmorg-13.0.0-rc2 |
|
#
7c921753 |
| 03-Aug-2021 |
Kostya Serebryany <kcc@google.com> |
[libFuzzer] replace Vector/Set with std::vector/std::set. The custom names are not required any more since we now build with a private version of libc++. Fix some of the 81+ character lines. Mechanic
[libFuzzer] replace Vector/Set with std::vector/std::set. The custom names are not required any more since we now build with a private version of libc++. Fix some of the 81+ character lines. Mechanical change, NFC expected.
[libFuzzer] replace Vector/Set with std::vector/std::set.
Reviewed By: morehouse
Differential Revision: https://reviews.llvm.org/D107374
show more ...
|