use raw_fd_ostream instead of fstream with graphwriter,
authorChris Lattner <sabre@nondot.org>
Sun, 23 Aug 2009 07:31:22 +0000 (07:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Aug 2009 07:31:22 +0000 (07:31 +0000)
commit2e35bec78a3279ceb330bec3d401ba6e8da8480c
tree058a5cd31a5880eae4d74085b779cfebaf3e4ef4
parent103289e9383ad1eb66caf28c9b166aebce963a35
use raw_fd_ostream instead of fstream with graphwriter,
flush the right stream in opt.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79837 91177308-0d34-0410-b5e6-96231b3b80d8
tools/opt/GraphPrinters.cpp
tools/opt/opt.cpp