diff options
author | romanova-ekaterina <katya.romanova@sony.com> | 2020-06-19 15:58:51 -0700 |
---|---|---|
committer | romanova-ekaterina <katya.romanova@sony.com> | 2020-06-19 16:03:29 -0700 |
commit | d7fad626e9a5e3dabdc56942d8965b9878326807 (patch) | |
tree | 13acd5c9e4c989aab9fa1003628ed45e840c8f42 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f8a463c170964bff7e239bb8268a4927a4547d3c (diff) | |
download | llvm-d7fad626e9a5e3dabdc56942d8965b9878326807.zip llvm-d7fad626e9a5e3dabdc56942d8965b9878326807.tar.gz llvm-d7fad626e9a5e3dabdc56942d8965b9878326807.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions