Reland rL341509: "[llvm-dwp] Use buffer_stream if output file is not seekable (e...
authorFangrui Song <maskray@google.com>
Thu, 6 Sep 2018 20:26:54 +0000 (20:26 +0000)
committerFangrui Song <maskray@google.com>
Thu, 6 Sep 2018 20:26:54 +0000 (20:26 +0000)
commita3735821697d4c189c7f8acf97d9c316336b0fb2
tree303cb6876c40381b287cb662482f1bb2b23acc0e
parent2ba4d231d1d62c1afe9b123c326d60de7c542d10
Reland rL341509: "[llvm-dwp] Use buffer_stream if output file is not seekable (e.g. "-")"

It caused ambiguity between llvm::cl::Optional and llvm::Optional, which
has been fixed by dropping `using namespace cl;` in favor of explicit
cl:: qualified names.

llvm-svn: 341586
llvm/test/tools/llvm-dwp/X86/merge.test
llvm/tools/llvm-dwp/llvm-dwp.cpp