diff options
| author | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2021-07-07 11:41:45 +0100 |
|---|---|---|
| committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2021-07-09 19:15:12 +0100 |
| commit | 739f49ed12a4d94cef07c7071e2ad6dbb93834f3 (patch) | |
| tree | 776bb960a8eb8b27893c16e115c8a8f2353ccf57 /lldb/test/Shell/ScriptInterpreter/Python/python.test | |
| parent | 8b68aeebd37951529059af82464c5a8dbd974bed (diff) | |
[flang][driver] Fix how output filename is generated
Currently, `flang -c file.f` generates `flang_unparsed_source_file_0.o`.
This is incorrect. This patch:
* simplifies the logic around output filename generation, and
* makes sure that `file.o` is produced instead of e.g.
`flang_unparsed_source_file_0.o` when using the `-c` flag
The output filename generation is moved to a dedicated function. I've
also made a few minor improvements, e.g. marked variables as local,
added comments, refined error messages.
Differential Revision: https://reviews.llvm.org/D105546
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/python.test')
0 files changed, 0 insertions, 0 deletions
