llvm / llvm/llvm-project

[Support] reportFatalUsageError emits "PLEASE submit a bug report....." when the doxygen comment says it shouldn't

Open
#176,958 1 comment 0 reactions 0 assignees View on GitHub
llvm:support platform:windows
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Noticed while triaging #176675, where I was investigating replacing llvm_unreachable with reportFatalUsageError:
```
LLVM ERROR: Unexpected intrinsic
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0. Program arguments: ninja\\bin\\llc fuzz.ll -o -
```
We say that reportFatalUsageError "It will not produce a crash trace and will *not* ask users to report an LLVM bug":
https://github.com/llvm/llvm-project/blob/48c0e9995a8979e0e100872e3740187af294aa5c/llvm/include/llvm/Support/ErrorHandling.h#L81-L97

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.