diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-02 04:14:23 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-02 04:14:23 +0000 |
commit | 54b6ab0edf407d1888969357a6551c398339125a (patch) | |
tree | 1eba15647f14021da7422d2849a65b68ffa54273 /llvm/lib/Support/GraphWriter.cpp | |
parent | 5f0701f2709f9aae12e107dc75b6bf848199078b (diff) | |
download | bcm5719-llvm-54b6ab0edf407d1888969357a6551c398339125a.tar.gz bcm5719-llvm-54b6ab0edf407d1888969357a6551c398339125a.zip |
GraphWriter: tweak the program fallback order
Amend r210001 to use the classic fallback order behaviour if the requested
graphing program isn't found.
llvm-svn: 210003
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
-rw-r--r-- | llvm/lib/Support/GraphWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp index b707a2daa95..c26f6a141ec 100644 --- a/llvm/lib/Support/GraphWriter.cpp +++ b/llvm/lib/Support/GraphWriter.cpp @@ -176,7 +176,7 @@ bool llvm::DisplayGraph(StringRef FilenameRef, bool wait, std::string GeneratorPath; if (PSViewer && (S.TryFindProgram(getProgramName(program), GeneratorPath) || - S.TryFindProgram("circo|twopi|neato|fdp|dot", GeneratorPath))) { + S.TryFindProgram("dot|fdp|neato|twopi|circo", GeneratorPath))) { std::string PSFilename = Filename + ".ps"; std::vector<const char *> args; |