[clang] [AIX][clang][driver] fix no-pthread option (PR #69363)

2023-10-18 Thread Hubert Tong via cfe-commits
hubert-reinterpretcast wrote: @daltenty, can we also have a check that the driver does not pass `-pthread` to the frontend when `-no-pthread` is used? As a complication, I think the code responsible is common cross-platform code in [clang/Driver/ToolChains/Clang.cpp](https://github.com/llvm/l

[clang] [AIX][clang][driver] fix no-pthread option (PR #69363)

2023-10-17 Thread David Tenty via cfe-commits
https://github.com/daltenty updated https://github.com/llvm/llvm-project/pull/69363 >From 560bf7329998e88d0ba12a2030b376d4a5aa173b Mon Sep 17 00:00:00 2001 From: David Tenty Date: Tue, 17 Oct 2023 11:53:55 -0400 Subject: [PATCH 1/2] [AIX][clang][driver] fix no-pthread option We don't properly

[clang] [AIX][clang][driver] fix no-pthread option (PR #69363)

2023-10-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: David Tenty (daltenty) Changes We don't properly check the boolean pthread option in the AIX toolchain, so we don't respect the no- form of the option. --- Full diff: https://github.com/llvm/llvm-project/pull/69363.diff 2 Files Affected

[clang] [AIX][clang][driver] fix no-pthread option (PR #69363)

2023-10-17 Thread David Tenty via cfe-commits
https://github.com/daltenty created https://github.com/llvm/llvm-project/pull/69363 We don't properly check the boolean pthread option in the AIX toolchain, so we don't respect the no- form of the option. >From 560bf7329998e88d0ba12a2030b376d4a5aa173b Mon Sep 17 00:00:00 2001 From: David Tenty