Convert tools to use tool_output_file, and introduce error
authorDan Gohman <gohman@apple.com>
Fri, 20 Aug 2010 16:59:15 +0000 (16:59 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 20 Aug 2010 16:59:15 +0000 (16:59 +0000)
commitf29140106f74d15ba357aa0a7f109adc939c3104
tree770be753408ca9fefa28ec3a13ef8f45e00cba3a
parente7b67d0e94df497791207618194e1db545ac3721
Convert tools to use tool_output_file, and introduce error
checking to places which previously lacked it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111651 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/ExtractFunction.cpp
tools/bugpoint/OptimizerDriver.cpp
tools/gold/gold-plugin.cpp
tools/llvm-ld/llvm-ld.cpp
tools/lto/LTOCodeGenerator.cpp
tools/opt/GraphPrinters.cpp