This is an archive of the discontinued LLVM Phabricator instance.

[CallGraph] Given -print-callgraph a stable printing order.
ClosedPublic

Authored by sanjoy on Jun 19 2015, 2:17 PM.

Details

Summary

Since FunctionMap maps Function* (pointers) the order in which the
traversal happens can differ from run to run, causing spurious FileCheck
failures. Have CallGraph::print sort the CallGraphNodes by name before
printing them.

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 28047.Jun 19 2015, 2:17 PM
sanjoy retitled this revision from to [CallGraph] Given -print-callgraph a stable printing order..
sanjoy updated this object.
sanjoy edited the test plan for this revision. (Show Details)
sanjoy added reviewers: bogner, chandlerc.
sanjoy added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.