This is an archive of the discontinued LLVM Phabricator instance.

[CFGPrinter] Fix CFGPrinter that specifying function names does not work
AbandonedPublic

Authored by congzhe on Sep 10 2021, 1:58 PM.

Details

Reviewers
None
Summary

The option that -view-cfg -cfg-func-name=<string> is supposed to print the cfg only for function with names contained in <string>, but currently it does not work and all functions in the IR will be printed out which causes inconvenience.

Diff Detail

Event Timeline

congzhe created this revision.Sep 10 2021, 1:58 PM
congzhe requested review of this revision.Sep 10 2021, 1:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 10 2021, 1:58 PM
congzhe abandoned this revision.Sep 23 2021, 7:04 PM

Looks like a similar fix has been committed before.