[all-commits] [llvm/llvm-project] dbd3ad: [LinkerWrapper] Fix errors not exiting inside of t...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Sat Jul 9 08:29:25 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dbd3ade17bc1ed889f306ce13955b2048b5df969
https://github.com/llvm/llvm-project/commit/dbd3ade17bc1ed889f306ce13955b2048b5df969
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-07-09 (Sat, 09 Jul 2022)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[LinkerWrapper] Fix errors not exiting inside of the LTO pipeline
The LTO pipeline handles its errors using the diagnostics handler
callback function. We were not checking the results of these errors and
not properly returning an error code in the linker wrapper when errors
occured inside of the LTO pipeline. This patch adds a simple boolean
flag to indicate if the LTO backend failed to any reason and quit.
Reviewed By: ye-luo
Differential Revision: https://reviews.llvm.org/D129423
More information about the All-commits
mailing list