GraphWriter: try gv before xdg-open
authorAlp Toker <alp@nuanti.com>
Wed, 4 Jun 2014 04:11:12 +0000 (04:11 +0000)
committerAlp Toker <alp@nuanti.com>
Wed, 4 Jun 2014 04:11:12 +0000 (04:11 +0000)
commit745927242ac99516e9eb12305dc60d5511f392f4
tree1281d5221840b140e9a2b53a97e3f5fedfa2792b
parente3fbe2c774ba7b60e2b7b21baa587101e29408dc
GraphWriter: try gv before xdg-open

Avoid changing behaviour for everyone who's used to the traditional ghostview
UI, especially since it knows how to stay in the foreground unlike xdg-open.

Amendment to r210147.

llvm-svn: 210148
llvm/lib/Support/GraphWriter.cpp