diff options
author | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2021-07-21 09:53:01 +0100 |
---|---|---|
committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2021-07-27 13:12:28 +0100 |
commit | cad2affb789201f0d7ccb4b5542f652b37c51c3a (patch) | |
tree | 0c17de63486afb35fa60e25d9901cb7f94d772b9 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | ec1fb9533305e9bd69294ede7e5e7d9befbb2225 (diff) | |
download | llvm-cad2affb789201f0d7ccb4b5542f652b37c51c3a.zip llvm-cad2affb789201f0d7ccb4b5542f652b37c51c3a.tar.gz llvm-cad2affb789201f0d7ccb4b5542f652b37c51c3a.tar.bz2 |
[flang][driver] Make `flang` ignore `-Mfree/-Mfixed`
`-Mfixed` is not supported by the new driver and hence
`flang`, the bash wrapper script, forwards it to the host compiler.
The forwarded options are used by the host compiler when compiling the
unparsed files. As the unparsed source files are always in the free
form, forwarding `-Mfixed` is problematic.
With this patch, `-Mfixed` (and `-Mfree` for consistency) will be
ignored altogether. The user will only see a warning. This is not a
particularly sound approach, but `flang` is only a temporary solution
for us and this workaround is a fair compromise.
Differential Revision: https://reviews.llvm.org/D106428
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions