diff options
author | Rui Ueyama <ruiu@google.com> | 2013-09-24 23:26:34 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-09-24 23:26:34 +0000 |
commit | 8db1eddc072cb606f24689f8e0a438a44ee6aa4d (patch) | |
tree | a1875b513666422131a6b38ee80aab71d13bd27c /lld/lib/ReaderWriter/CoreLinkingContext.cpp | |
parent | 3ce27103d9f95ade2a426d90d7639c4bf6fd96c3 (diff) | |
download | bcm5719-llvm-8db1eddc072cb606f24689f8e0a438a44ee6aa4d.tar.gz bcm5719-llvm-8db1eddc072cb606f24689f8e0a438a44ee6aa4d.zip |
Make Driver::link and LinkingContext::validate return true on success.
This patch inverts the return value of these functions, so that they return
"true" on success and "false" on failure. The meaning of boolean return value
was mixed in LLD; for example, InputGraph::validate() returns true on success.
With this patch they'll become consistent.
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1748
llvm-svn: 191341
Diffstat (limited to 'lld/lib/ReaderWriter/CoreLinkingContext.cpp')
-rw-r--r-- | lld/lib/ReaderWriter/CoreLinkingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/CoreLinkingContext.cpp b/lld/lib/ReaderWriter/CoreLinkingContext.cpp index 8f89f1d4a6a..fdc56ec7588 100644 --- a/lld/lib/ReaderWriter/CoreLinkingContext.cpp +++ b/lld/lib/ReaderWriter/CoreLinkingContext.cpp @@ -272,7 +272,7 @@ private: CoreLinkingContext::CoreLinkingContext() {} bool CoreLinkingContext::validateImpl(raw_ostream &diagnostics) { - return false; + return true; } void CoreLinkingContext::addPasses(PassManager &pm) const { |