improve compatibility with various versions of graphviz, patch by

Patrick Boettcher!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-01-20 18:25:03 +00:00
parent 9981b1f156
commit ccb3ab46f6

View File

@ -57,8 +57,8 @@ void llvm::DisplayGraph(const sys::Path &Filename) {
sys::Path gv(LLVM_PATH_GV);
args.clear();
args.push_back(gv.c_str());
args.push_back("--spartan");
args.push_back(PSFilename.c_str());
args.push_back("-spartan");
args.push_back(0);
ErrMsg.clear();