summaryrefslogtreecommitdiffstats
path: root/lld/include/lld
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2017-01-17 19:07:42 +0000
committerBob Haarman <llvm@inglorion.net>2017-01-17 19:07:42 +0000
commit6c8f736ba77bda52a4aa3e1f82c465b6112d8344 (patch)
tree882c29e3d40fbc89ffd6d0af7fd30472c5d692be /lld/include/lld
parent96669965635a85a01e915dc07526f92108498782 (diff)
downloadbcm5719-llvm-6c8f736ba77bda52a4aa3e1f82c465b6112d8344.tar.gz
bcm5719-llvm-6c8f736ba77bda52a4aa3e1f82c465b6112d8344.zip
COFF: add error() and warn() to Error.{cpp,h}
Summary: This copies over some functionality we have in ELF/Error.{cpp,h} and makes it available in COFF/Error.{cpp,h} Reviewers: pcc, rafael, ruiu Subscribers: Differential Revision: https://reviews.llvm.org/D28692 llvm-svn: 292240
Diffstat (limited to 'lld/include/lld')
-rw-r--r--lld/include/lld/Driver/Driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/include/lld/Driver/Driver.h b/lld/include/lld/Driver/Driver.h
index a3265c85716..4ba0994e88b 100644
--- a/lld/include/lld/Driver/Driver.h
+++ b/lld/include/lld/Driver/Driver.h
@@ -15,7 +15,8 @@
namespace lld {
namespace coff {
-bool link(llvm::ArrayRef<const char *> Args);
+bool link(llvm::ArrayRef<const char *> Args,
+ llvm::raw_ostream &Diag = llvm::errs());
}
namespace elf {
OpenPOWER on IntegriCloud