[all-commits] [llvm/llvm-project] 856c38: [flang] Implement GETUID and GETGID intrinsics (#1...
David Truby via All-commits
all-commits at lists.llvm.org
Wed Oct 2 05:27:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 856c38d542aee5e29884c307501bf1033a9b2e42
https://github.com/llvm/llvm-project/commit/856c38d542aee5e29884c307501bf1033a9b2e42
Author: David Truby <david.truby at arm.com>
Date: 2024-10-02 (Wed, 02 Oct 2024)
Changed paths:
M flang/docs/Intrinsics.md
M flang/include/flang/Evaluate/target.h
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
M flang/include/flang/Runtime/extensions.h
M flang/include/flang/Tools/TargetSetup.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-call.h
M flang/lib/Semantics/expression.cpp
M flang/runtime/extensions.cpp
A flang/test/Semantics/windows.f90
M flang/unittests/Optimizer/Builder/Runtime/CommandTest.cpp
A flang/unittests/Optimizer/Builder/Runtime/IntrinsicsTest.cpp
M flang/unittests/Optimizer/CMakeLists.txt
Log Message:
-----------
[flang] Implement GETUID and GETGID intrinsics (#110679)
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 at arm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list