[all-commits] [llvm/llvm-project] 6c7e04: [libc] Fix pthread argument for scudo integration ...
David Spickett via All-commits
all-commits at lists.llvm.org
Mon Feb 6 01:50:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c7e047b40613729a6fe250d9997d86a04f0e000
https://github.com/llvm/llvm-project/commit/6c7e047b40613729a6fe250d9997d86a04f0e000
Author: David Spickett <david.spickett at linaro.org>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M libc/test/integration/scudo/CMakeLists.txt
Log Message:
-----------
[libc] Fix pthread argument for scudo integration tests when using GCC
This adds "-pthreads" which appears to be a clang only
alias for "-pthread" (all the drivers check for both).
Use "-pthread" instead to be compatible with gcc.
Otherwise you get:
FAILED: bin/libc-gwp-asan-uaf-should-crash
: && /usr/bin/g++-11 <...> -pthreads <...> projects/libc/test/integration/scudo/liblibc_for_scudo_integration_test.a && :
g++-11: error: unrecognized command-line option ‘-pthreads’; did you mean ‘-pthread’?
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D143258
More information about the All-commits
mailing list