[Openmp-commits] [openmp] dc03382 - [openmp][AIX] Add AIX to __kmp_set_stack_info() (#77421)

via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 9 09:02:45 PST 2024


Author: Brad Smith
Date: 2024-01-09T12:02:40-05:00
New Revision: dc03382d3e38c8028926b2b66eebf3ca98efc7d3

URL: https://github.com/llvm/llvm-project/commit/dc03382d3e38c8028926b2b66eebf3ca98efc7d3
DIFF: https://github.com/llvm/llvm-project/commit/dc03382d3e38c8028926b2b66eebf3ca98efc7d3.diff

LOG: [openmp][AIX] Add AIX to __kmp_set_stack_info() (#77421)

Added: 
    

Modified: 
    openmp/runtime/src/z_Linux_util.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp
index f01fa647c4d428..513ec6517d00bd 100644
--- a/openmp/runtime/src/z_Linux_util.cpp
+++ b/openmp/runtime/src/z_Linux_util.cpp
@@ -422,7 +422,7 @@ void __kmp_terminate_thread(int gtid) {
 static kmp_int32 __kmp_set_stack_info(int gtid, kmp_info_t *th) {
   int stack_data;
 #if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD ||     \
-    KMP_OS_HURD || KMP_OS_SOLARIS
+    KMP_OS_HURD || KMP_OS_SOLARIS || KMP_OS_AIX
   pthread_attr_t attr;
   int status;
   size_t size = 0;


        


More information about the Openmp-commits mailing list