[lld] [llvm] [LLVM] Use `reportFatalUsageError` for LTO usage errors (PR #140955)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 01:15:28 PDT 2025


bd1976bris wrote:

> Hi this PR causes check-lld failed that breaks out buildbots. I reverted locally and it passes. Please put up a fix or revert if necessary. Thanks!
> 
> > TEST 'lld :: COFF/lto-cache-errors.ll' FAILED

Hi @Kewen12. Thanks for reverting. I was originally going to combine this change with #140953 - in which I made [lto-cache-errors.ll](https://github.com/llvm/llvm-project/blob/e165bea1d4ec2de96ee0548cece79d71a75ce8f8/lld/test/COFF/lto-cache-errors.ll) into a Windows only test. However, I spilt this part off to go in first. I must have dropped the [lto-cache-errors.ll](https://github.com/llvm/llvm-project/blob/e165bea1d4ec2de96ee0548cece79d71a75ce8f8/lld/test/COFF/lto-cache-errors.ll) part of the change and, although I checked that the tests passed, I didn't notice that that this test was not being run as it was classified as `UNSUPPORTED`. Not sure why - maybe because it has: `REQUIRES: non-root-user`? Anyway, thanks.

https://github.com/llvm/llvm-project/pull/140955


More information about the llvm-commits mailing list