diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2025-05-06 09:12:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 09:12:17 +0200 |
commit | 30ec488716263200f7e6004c4670c77f6ec9fab9 (patch) | |
tree | a6b5da81d0ef3e5fd4638b616af38d1aab3e6996 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | d83983999d975357ada46d482c29b83fac41b90c (diff) | |
download | llvm-30ec488716263200f7e6004c4670c77f6ec9fab9.zip llvm-30ec488716263200f7e6004c4670c77f6ec9fab9.tar.gz llvm-30ec488716263200f7e6004c4670c77f6ec9fab9.tar.bz2 |
[OpenMP] Use pthread_self for __kmp_gettid on Solaris (#138510)
Building `openmp` on Solaris/amd64, I get
```
In file included from openmp/runtime/src/kmp_utility.cpp:16:
openmp/runtime/src/kmp_wrapper_getpid.h:47:2: warning: No gettid found, use getpid instead [-W#warnings]
47 | #warning No gettid found, use getpid instead
| ^
```
There's no reason to do this: Solaris can use `pthread_self` just as AIX
does.
Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions