This is an archive of the discontinued LLVM Phabricator instance.

[clang-scan-deps] Improve argument parsing to find target object file path.
ClosedPublic

Authored by saudi on Nov 30 2020, 9:12 AM.

Details

Summary

This patch adds support for the joined version of -o (e.g. -ofilename) command parameter when reading the clang arguments.

It also fixes a bug, as the first occurence of -o was used instead of the last one.

Diff Detail

Event Timeline

saudi created this revision.Nov 30 2020, 9:12 AM
saudi requested review of this revision.Nov 30 2020, 9:12 AM
This revision is now accepted and ready to land.Nov 30 2020, 11:16 AM
This revision was landed with ongoing or failed builds.Dec 1 2020, 12:04 PM
This revision was automatically updated to reflect the committed changes.