<div dir="ltr">Context is everything. Spotting the relevant details in long build output can be tricky & some emphasis (caps, the *** borders, etc) can be useful.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 23, 2020 at 5:21 AM Stefan Kanthak via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Who's "shouting" here? Even in complete lines, 9 consecutive words!<br>
<br>
<br>
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>
Preprocessed source(s) and associated run script(s) are located at:<br>
clang: note: diagnostic msg: C:\Windows\Temp\crash-74a40f.c<br>
clang: note: diagnostic msg: C:\Windows\Temp\crash-74a40f.sh<br>
clang: note: diagnostic msg:<br>
<br>
********************<br>
<br>
--- crash-74a40f.c ---<br>
# 1 "<built-in>"<br>
# 1 "crash.c"<br>
// Copyright (C) 2020 Stefan Kanthak <<a href="mailto:stefan.kanthak@nexgo.de" target="_blank">stefan.kanthak@nexgo.de</a>><br>
<br>
long dummy;<br>
<br>
__attribute__((naked))<br>
long function(void)<br>
{<br>
   __asm__(".data\n"<br>
           "dummy:\n"<br>
           ".quad\t0\n"<br>
           ".text\n"<br>
           ".intel_syntax noprefix\n"<br>
           "\tmov\trax, dummy\n"<br>
           "\tret\n");<br>
}<br>
--- EOF ---<br>
<br>
--- crash-74a40f.sh ---<br>
# Crash reproducer for clang version 10.0.0<br>
# Driver args: "-c" "-m64" "crash.c"<br>
# Original command:  "C:\\Program Files\\LLVM\\bin\\clang.exe" "-cc1" "-triple"<br>
"x86_64-pc-windows-msvc19.11.0" "-emit-obj" "-mrelax-all" "-mincremental-linker-<br>
compatible" "-disable-free" "-disable-llvm-verifier" "-discard-value-names" "-ma<br>
in-file-name" "crash.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-mo<br>
del" "posix" "-mframe-pointer=none" "-fmath-errno" "-fno-rounding-math" "-masm-v<br>
erbose" "-mconstructor-aliases" "-munwind-tables" "-target-cpu" "x86-64" "-dwarf<br>
-column-info" "-resource-dir" "C:\\Program Files\\LLVM\\lib\\clang\\10.0.0" "-in<br>
ternal-isystem" "C:\\Program Files\\LLVM\\lib\\clang\\10.0.0\\include" "-fdebug-<br>
compilation-dir" "C:\\Windows\\Temp" "-ferror-limit" "19" "-fmessage-length" "80<br>
" "-fno-use-cxa-atexit" "-fms-extensions" "-fms-compatibility" "-fms-compatibili<br>
ty-version=19.11" "-fdelayed-template-parsing" "-fobjc-runtime=gcc" "-fdiagnosti<br>
cs-show-option" "-fcolor-diagnostics" "-faddrsig" "-o" "crash.o" "-x" "c" "crash<br>
.c"<br>
 "C:\\Program Files\\LLVM\\bin\\clang.exe" "-cc1" "-triple" "x86_64-pc-windows-m<br>
svc19.11.0" "-emit-obj" "-mrelax-all" "-mincremental-linker-compatible" "-disabl<br>
e-free" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "crash<br>
.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mfram<br>
e-pointer=none" "-fmath-errno" "-fno-rounding-math" "-masm-verbose" "-mconstruct<br>
or-aliases" "-munwind-tables" "-target-cpu" "x86-64" "-dwarf-column-info" "-ferr<br>
or-limit" "19" "-fmessage-length" "80" "-fno-use-cxa-atexit" "-fms-extensions" "<br>
-fms-compatibility" "-fms-compatibility-version=19.11" "-fdelayed-template-parsi<br>
ng" "-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-fad<br>
drsig" "-x" "c" "crash-74a40f.c"<br>
--- EOF ---<br>
<br>
fatal error: error in backend: symbol 'dummy' is already defined<br>
Stack dump:<br>
0.      Program arguments: C:\Program Files\LLVM\bin\clang.exe -c -m64 crash.c<br>
1.      <eof> parser at end of file<br>
2.      Code generation<br>
 #0 0x000007fefd2eb87d (C:\Windows\system32\KERNELBASE.dll+0xb87d)<br>
 #1 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x16b6eca C:\Program Files\LLVM\bin\clang.exe 0x16935a3<br>
 #2 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x71f9 C:\Program Files\LLVM\bin\clang.exe 0x16bbee7<br>
 #3 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1f84176 C:\Program Files\LLVM\bin\clang.exe 0x1f892b7<br>
 #4 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1198ec1 C:\Program Files\LLVM\bin\clang.exe 0x1199442<br>
 #5 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x18e1cb3 C:\Program Files\LLVM\bin\clang.exe 0x36ab935<br>
 #6 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x28898a3 C:\Program Files\LLVM\bin\clang.exe 0x1dadb02<br>
 #7 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1d70bc0 C:\Program Files\LLVM\bin\clang.exe 0x1e08ca9<br>
 #8 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x6ebf C:\Program Files\LLVM\bin\clang.exe 0x4337<br>
 #9 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1d0d7c6 C:\Program Files\LLVM\bin\clang.exe 0x16b6d33<br>
#10 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1d0d00b C:\Program Files\LLVM\bin\clang.exe 0x1c311d8<br>
#11 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1c316d4 C:\Program Files\LLVM\bin\clang.exe 0x1c1f357<br>
#12 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x3c93 C:\Program Files\LLVM\bin\clang.exe 0x36c74a0<br>
#13 0x0000000140db6eca (C:\Program Files\LLVM\bin\clang.exe+0x16b6eca)<br>
#14 0x0000000140d935a3 (C:\Program Files\LLVM\bin\clang.exe+0x16935a3)<br>
[...]<br>
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)<br>
clang version 10.0.0<br>
Target: x86_64-pc-windows-msvc<br>
Thread model: posix<br>
InstalledDir: C:\Program Files\LLVM\bin<br>
clang: note: diagnostic msg: PLEASE submit a bug report to <a href="https://bugs.llvm.org/" rel="noreferrer" target="_blank">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed<br>
source, and associated run script.<br>
clang: note: diagnostic msg:<br>
********************<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>