This is an archive of the discontinued LLVM Phabricator instance.

[tooling] Create executor by name
AbandonedPublic

Authored by juliehockett on Oct 1 2018, 3:58 PM.

Details

Reviewers
ioeric
Summary

Allow creation of a ToolExecutor given a name and a set of parsed options. This is useful in the case where the calling tool always wants to use a particular non-default implementation (e.g. the tool should always be run with the all-TUs executor)

Diff Detail

Event Timeline

juliehockett created this revision.Oct 1 2018, 3:58 PM
ioeric added a comment.Oct 4 2018, 3:08 AM

This is useful in the case where the calling tool always wants to use a particular non-default implementation (e.g. the tool should always be run with the all-TUs executor)

Any reason not to use the constructor of AllTUsToolExecutor directly? There is one that takes CommonOptionsParser.

juliehockett abandoned this revision.Oct 10 2018, 1:49 PM