diff options
| author | Maciej Gabka <maciej.gabka@arm.com> | 2023-09-01 15:22:43 +0000 |
|---|---|---|
| committer | Maciej Gabka <maciej.gabka@arm.com> | 2023-09-11 14:58:36 +0000 |
| commit | 9272aa9d08cbbf5b8612c264d5d547fdefae26c7 (patch) | |
| tree | 1521aafc8ddc122af20b6430c492f930717d5de2 /lldb/test/API/functionalities/interactive_scripted_process/TestInteractiveScriptedProcess.py | |
| parent | f8b04eb6d0e5d308a8d025b54f6f57f716d646fe (diff) | |
[Driver] Do not generate error about unsupported target specific options when there is no compiler jobs
The upstream commit: https://reviews.llvm.org/D151590
added a new flag to mark target specific compiler options.
The side effect of it was that in cases when -### or -v is used without any
input file, clang started emitting an error.
It happened like that becasue there is no compilation actions created
which could consume/verify these target specific options.
This patch changes that error to a warning about unused option in situations
when there is no actions and still generates error when there are actions.
Fix for https://github.com/llvm/llvm-project/issues/64958
Differential Revision: https://reviews.llvm.org/D159361
Diffstat (limited to 'lldb/test/API/functionalities/interactive_scripted_process/TestInteractiveScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
