mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 18:33:56 +00:00
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
This commit is contained in:
parent
04de60e28f
commit
939fd59eea
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user