[all-commits] [llvm/llvm-project] 1c0b03: [flang][driver] Support parsing response files
Diana via All-commits
all-commits at lists.llvm.org
Wed May 18 01:26:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1c0b03f6e706978f2e87408f7fd5e4c846d6c9a8
https://github.com/llvm/llvm-project/commit/1c0b03f6e706978f2e87408f7fd5e4c846d6c9a8
Author: Diana Picus <diana.picus at linaro.org>
Date: 2022-05-18 (Wed, 18 May 2022)
Changed paths:
A flang/test/Driver/response-file.f90
M flang/tools/flang-driver/driver.cpp
Log Message:
-----------
[flang][driver] Support parsing response files
Add support for reading response files in the flang driver. Response
files contain command line arguments and are used whenever a command
becomes longer than the shell/environment limit. Response files are
recognized via the special "@path/to/response/file.rsp" syntax, which
distinguishes them from other file inputs.
This patch hardcodes GNU tokenization, since we don't have a CL mode for
the driver. In the future we might want to add a --rsp-quoting command
line option, like clang has, to accommodate Windows platforms.
Differential Revision: https://reviews.llvm.org/D124846
More information about the All-commits
mailing list