This is an archive of the discontinued LLVM Phabricator instance.

[llvm-extract] Add -dag option.
Needs RevisionPublic

Authored by Bigcheese on May 22 2014, 4:25 PM.

Details

Reviewers
chandlerc
Summary

The -dag option informs llvm-extract to keep all global values that were
explicitly listed and that are reachable from those listed. This is useful for
extracting sub-graphs of a program.

Diff Detail

Event Timeline

Bigcheese updated this revision to Diff 9722.May 22 2014, 4:25 PM
Bigcheese retitled this revision from to [llvm-extract] Add -dag option..
Bigcheese updated this object.
Bigcheese edited the test plan for this revision. (Show Details)
Bigcheese added a reviewer: chandlerc.
Bigcheese added a subscriber: Unknown Object (MLST).
chandlerc requested changes to this revision.Mar 29 2015, 12:29 PM
chandlerc edited edge metadata.

The name "dag" doesn't make sense to me here. We should be calling it something like "globals". All of the extract stuff works by extracting the entire sub-graph needed.

This revision now requires changes to proceed.Mar 29 2015, 12:29 PM