-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Open
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'
Description
Currently there are a bunch of compiler inputs which don't get included in Clang crash reports. For example:
$ cat /tmp/a.c
#pragma clang __debug crash
$ build/bin/clang -c /tmp/a.c -fprofile-use=a.profdata --warning-suppression-mappings=suppress.txt
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
[...]
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/a-3c1def.c
clang: note: diagnostic msg: /tmp/a-3c1def.sh
clang: note: diagnostic msg:
********************
In this case, /tmp/a-3c1def.sh
and /tmp/a-3c1def.c
may not be enough to reproduce the problem (on another machine for example). It would be great if the profile, warning suppressions, and all other inputs could also be copied to the -fcrash-diagnostics-dir
and the run script updated accordingly.
Metadata
Metadata
Assignees
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'