[all-commits] [llvm/llvm-project] d7fad6: Error related to ThinLTO caching needs to be downg...
romanova-ekaterina via All-commits
all-commits at lists.llvm.org
Fri Jun 19 16:04:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d7fad626e9a5e3dabdc56942d8965b9878326807
https://github.com/llvm/llvm-project/commit/d7fad626e9a5e3dabdc56942d8965b9878326807
Author: romanova-ekaterina <katya.romanova at sony.com>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
Log Message:
-----------
Error related to ThinLTO caching needs to be downgraded to a remark
This is a fix for PR #46392 (Diagnostic message (error) related to
ThinLTO caching needs to be downgraded to a remark).
There are diagnostic messages related to ThinLTO caching that contain
the word "error", but they are really just notices/remarks for users,
and they don't cause a build failure. The word "error" appearing can be
confusing to users, and may even cause deeper problems.
User's build system might be designed to interpret any error messages
(even a benign error message as the one above) reported by the compiler
as a build failure, thus causing the build to fail "needlessly". In
short, the term "error" in this diagnostic is misleading at best, and
may be causing build systems to fail at worst.
Differential Revision: https://reviews.llvm.org/D82138
More information about the All-commits
mailing list