diff options
| author | David Spickett <david.spickett@linaro.org> | 2023-02-03 11:06:34 +0000 |
|---|---|---|
| committer | David Spickett <david.spickett@linaro.org> | 2023-02-06 09:49:57 +0000 |
| commit | 6c7e047b40613729a6fe250d9997d86a04f0e000 (patch) | |
| tree | 06775a661cd55390ef8599b14c1f5ed6f902a80b /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | 330372f2c58de12d711062f298c6472fc6a51fc5 (diff) | |
| download | llvm-6c7e047b40613729a6fe250d9997d86a04f0e000.zip llvm-6c7e047b40613729a6fe250d9997d86a04f0e000.tar.gz llvm-6c7e047b40613729a6fe250d9997d86a04f0e000.tar.bz2 | |
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
