[all-commits] [llvm/llvm-project] 37089b: Reland "[flang] GET_COMMAND_ARGUMENT runtime imple...

Diana via All-commits all-commits at lists.llvm.org
Tue Sep 28 05:34:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37089bae29a92b97e16be4795553b68a6b04ff91
      https://github.com/llvm/llvm-project/commit/37089bae29a92b97e16be4795553b68a6b04ff91
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2021-09-28 (Tue, 28 Sep 2021)

  Changed paths:
    M flang/include/flang/Runtime/magic-numbers.h
    M flang/runtime/command.cpp
    M flang/runtime/stat.cpp
    M flang/runtime/stat.h
    M flang/test/Runtime/no-cpp-dep.c
    M flang/unittests/Runtime/CommandTest.cpp

  Log Message:
  -----------
  Reland "[flang] GET_COMMAND_ARGUMENT runtime implementation"

Recommit https://reviews.llvm.org/D109813 and
https://reviews.llvm.org/D109814.

This implements the second and final entry point for GET_COMMAND_ARGUMENT,
handling the VALUE, STATUS and ERRMSG parameters.

It has a small fix in that we're now using memcpy instead of strncpy
(which was a bad idea to begin with, since we're not actually interested
in a string copy).




More information about the All-commits mailing list