[flang-commits] [flang] [flang] add SYSTEM runtime and lowering intrinsics support (PR #74309)
Yi Wu via flang-commits
flang-commits at lists.llvm.org
Thu Dec 7 06:34:08 PST 2023
================
@@ -55,6 +55,11 @@ std::int32_t RTNAME(GetEnvVariable)(const Descriptor &name,
const Descriptor *value = nullptr, const Descriptor *length = nullptr,
bool trim_name = true, const Descriptor *errmsg = nullptr,
const char *sourceFile = nullptr, int line = 0);
+
+// Calls std::system()
+void RTNAME(System)(const Descriptor *command = nullptr,
----------------
yi-wu-arm wrote:
no, its required parameter. I have changed it to reference `&command`. Thanks for pointing this out, I will change `execute_command_line` accordingly.
https://github.com/llvm/llvm-project/pull/74309
More information about the flang-commits
mailing list