summaryrefslogtreecommitdiff
path: root/offload/libomptarget/OpenMP/InteropAPI.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2025-10-17 09:35:23 +0100
committerGitHub <noreply@github.com>2025-10-17 08:35:23 +0000
commitf5885de2cd49785d666b909612e4ec18925abc5a (patch)
tree8c236041cb7881e1a38b544d9cc050b7022985b8 /offload/libomptarget/OpenMP/InteropAPI.cpp
parent89eef941c4edff02eaca53c5a2d62256eab07a01 (diff)
[lld] Reject --read-workers when lld is built without thread support (#163925)
Also expand the #ifdef to remove unused code in this configuration. As suggested in https://github.com/llvm/llvm-project/pull/147134#issuecomment-3328612158. I have also: * Expanded the error message to explain why it's not allowed. * Added a test for the error. * Marked the original test as unsupported when threads are disabled. Fixes issues we have had on Armv8 with threading disabled where this test would crash every so often. This change will hopefully be superseded by #157917, but that has been in review a long time and I want to make the bot stable again. I could just disable the test, but I'd like lld to function properly in general in the meantime too. Co-authored-by: John Holdsworth <github@johnholdsworth.com>
Diffstat (limited to 'offload/libomptarget/OpenMP/InteropAPI.cpp')
0 files changed, 0 insertions, 0 deletions