[llvm] [Support] report_fatal_error: Do not generate crash backtrace by default (PR #128495)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 24 06:13:12 PDT 2025
https://github.com/joker-eph requested changes to this pull request.
I disagree with the premise here:
> report_fatal_error is being used to report invalid inputs but the default reporting is a crash.
`report_fatal_error` is not meant to handle invalid inputs to the compiler: it is meant to crash on internal bug. Compiler ICE isn't correct error handling.
https://github.com/llvm/llvm-project/pull/128495
More information about the llvm-commits
mailing list