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 | 939fd59eea0463a08ff672d146047c7e10d69458 (patch) | |
tree | 1de7aa4061fe0f6d9749c650a14d99c5abd26940 | |
parent | 04de60e28f29613ea762fc7221197f7a2c4ade80 (diff) | |
download | llvm-939fd59eea0463a08ff672d146047c7e10d69458.tar.gz llvm-939fd59eea0463a08ff672d146047c7e10d69458.tar.bz2 llvm-939fd59eea0463a08ff672d146047c7e10d69458.tar.xz |
GraphWriter: tweak the program fallback order
Amend r210001 to use the classic fallback order behaviour if the requested
graphing program isn't found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210003 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/GraphWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp index b707a2daa9..c26f6a141e 100644 --- a/lib/Support/GraphWriter.cpp +++ b/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; |