diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-06-19 23:20:31 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-06-19 23:20:31 +0000 |
commit | 18c9dd31de61d8587f98d35bd47f0aceb216ba9f (patch) | |
tree | ce349acd94290ff5c7171ce9f2a8d6924ade4995 /llvm/lib/MC/MCContext.cpp | |
parent | f023ff1d5153951be280283f1b0acf91beab7eb9 (diff) | |
download | bcm5719-llvm-18c9dd31de61d8587f98d35bd47f0aceb216ba9f.tar.gz bcm5719-llvm-18c9dd31de61d8587f98d35bd47f0aceb216ba9f.zip |
[CallGraph] Given -print-callgraph a stable printing order.
Summary:
Since FunctionMap has llvm::Function pointers as keys, 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.
Reviewers: bogner, chandlerc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D10575
llvm-svn: 240191
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
0 files changed, 0 insertions, 0 deletions