diff options
author | Ben Langmuir <blangmuir@apple.com> | 2022-07-12 16:55:11 -0700 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2022-07-13 13:36:15 -0700 |
commit | 3ce78cbd2392d7c98f97d1d424cd7ff582fc28f8 (patch) | |
tree | 87623ae2a72558525fb43c9f21a166d43b8473db /clang/lib/ExtractAPI/Serialization | |
parent | 94e0f8e001002b828c42048f383806295e7abbb2 (diff) | |
download | llvm-3ce78cbd2392d7c98f97d1d424cd7ff582fc28f8.zip llvm-3ce78cbd2392d7c98f97d1d424cd7ff582fc28f8.tar.gz llvm-3ce78cbd2392d7c98f97d1d424cd7ff582fc28f8.tar.bz2 |
[clang][deps] Fix handling of -MT in module command-line
Follow-up to 6626f6fec3d3, this fixes the handling of -MT
* If no targets are provided, we need to invent one since cc1 expects
the driver to have handled it. The default is to use -o, quoting as
necessary for a make target.
* Fix the splitting for empty string, which was incorrectly treated as
{""} instead of {}.
* Add a way to test this behaviour in clang-scan-deps.
Differential Revision: https://reviews.llvm.org/D129607
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization')
0 files changed, 0 insertions, 0 deletions