aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2025-05-06 09:12:17 +0200
committerGitHub <noreply@github.com>2025-05-06 09:12:17 +0200
commit30ec488716263200f7e6004c4670c77f6ec9fab9 (patch)
treea6b5da81d0ef3e5fd4638b616af38d1aab3e6996 /flang/lib/Frontend/CompilerInvocation.cpp
parentd83983999d975357ada46d482c29b83fac41b90c (diff)
downloadllvm-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