mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 02:26:38 +00:00

GETUID and GETGID are non-standard intrinsics supported by a number of other Fortran compilers. On supported platforms these intrinsics simply call the POSIX getuid() and getgid() functions and return the result. The only platform we support that does not have these is Windows. Windows does not have the same concept of UIDs and GIDs, so on Windows we issue a warning indicating this and return 1 from both functions. Co-authored-by: Yi Wu <yi.wu2@arm.com> --------- Co-authored-by: Yi Wu <yi.wu2@arm.com>