llvm-project/flang/tools/flang-driver
Diana Picus 1c0b03f6e7 [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
2022-05-18 08:25:45 +00:00
..
.clang-format [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
.clang-tidy [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00
CMakeLists.txt [flang][driver] Add support for generating executables 2022-04-25 12:00:23 +00:00
driver.cpp [flang][driver] Support parsing response files 2022-05-18 08:25:45 +00:00
fc1_main.cpp [flang][driver] Switch to the MLIR coding style in the driver (nfc) 2022-05-14 10:27:06 +00:00