]> granicus.if.org Git - llvm/commit
LTO: Improve error reporting when adding a cache entry.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 3 Oct 2017 00:44:21 +0000 (00:44 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 3 Oct 2017 00:44:21 +0000 (00:44 +0000)
commiteb5fecf4d16be47d72b82fe8c6935476104722b0
tree21eead7726493a5a9270ead2fd768cacb12083ed
parent84be8d28a04cea95c142bebbf96a7cbf6531fe17
LTO: Improve error reporting when adding a cache entry.

Move error handling code next to the code that returns the error,
and change the error message in order to distinguish it from a similar
error message elsewhere in this file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314745 91177308-0d34-0410-b5e6-96231b3b80d8
lib/LTO/Caching.cpp