[all-commits] [llvm/llvm-project] fc2ba5: [flang] Implement GET_ENVIRONMENT_VARIABLE(LENGTH)

Diana via All-commits all-commits at lists.llvm.org
Wed Oct 13 01:45:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc2ba5e53d47a07f505ddee2441b3768e446624c
      https://github.com/llvm/llvm-project/commit/fc2ba5e53d47a07f505ddee2441b3768e446624c
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M flang/runtime/command.cpp
    M flang/runtime/environment.cpp
    M flang/runtime/environment.h
    M flang/unittests/Runtime/CommandTest.cpp

  Log Message:
  -----------
  [flang] Implement GET_ENVIRONMENT_VARIABLE(LENGTH)

Search for the environment variable in the envp string passed to
ProgramStart. This doesn't work if the main program isn't Fortran.

Differential Revision: https://reviews.llvm.org/D111394




More information about the All-commits mailing list