<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 23, 2020 at 10:54 AM Stefan Kanthak <<a href="mailto:stefan.kanthak@nexgo.de">stefan.kanthak@nexgo.de</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">"David Blaikie" <<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>> wrote:<br>
<br>
> Context is everything.<br>
<br>
I'm willing to accept your humble apologies.<br></blockquote><div><br>Sarcasm and snark are not appreciated. Your repeated interest in antagonizing communication is not suited to this community.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Spotting the relevant details in long build output<br>
> can be tricky & some emphasis (caps, the *** borders, etc) can be useful.<br>
<br>
So you dare to "shout" at your users/customers, but mock when someone (me)<br>
uses the same sort of emphasis, albeit just on SINGLE words, not whole lines?<br>
"o tempora, o mores!"<br>
<br>
Alternative, NOT "shouting":<br>
____________________________________________________<br>
Please attach the following files to the bug report:<br>
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯<br>
Hint: even the Windows console allows to output INVERSE text, which<br>
would be even more outstanding and easier to spot.<br>
<br>
Also: starred **** borders are not as outstanding as hashed #### or<br>
slashed //// borders!<br>
<br>
Now go and fix the bug resulting in the crash I demonstrated below!<br>
<br>
Stefan<br>
<br>
> On Sun, Aug 23, 2020 at 5:21 AM Stefan Kanthak via llvm-dev <<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
><br>
>> 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"<br>
>> "-triple"<br>
>> "x86_64-pc-windows-msvc19.11.0" "-emit-obj" "-mrelax-all"<br>
>> "-mincremental-linker-<br>
>> compatible" "-disable-free" "-disable-llvm-verifier"<br>
>> "-discard-value-names" "-ma<br>
>> in-file-name" "crash.c" "-mrelocation-model" "pic" "-pic-level" "2"<br>
>> "-mthread-mo<br>
>> del" "posix" "-mframe-pointer=none" "-fmath-errno" "-fno-rounding-math"<br>
>> "-masm-v<br>
>> erbose" "-mconstructor-aliases" "-munwind-tables" "-target-cpu" "x86-64"<br>
>> "-dwarf<br>
>> -column-info" "-resource-dir" "C:\\Program<br>
>> Files\\LLVM\\lib\\clang\\10.0.0" "-in<br>
>> ternal-isystem" "C:\\Program Files\\LLVM\\lib\\clang\\10.0.0\\include"<br>
>> "-fdebug-<br>
>> compilation-dir" "C:\\Windows\\Temp" "-ferror-limit" "19"<br>
>> "-fmessage-length" "80<br>
>> " "-fno-use-cxa-atexit" "-fms-extensions" "-fms-compatibility"<br>
>> "-fms-compatibili<br>
>> ty-version=19.11" "-fdelayed-template-parsing" "-fobjc-runtime=gcc"<br>
>> "-fdiagnosti<br>
>> cs-show-option" "-fcolor-diagnostics" "-faddrsig" "-o" "crash.o" "-x" "c"<br>
>> "crash<br>
>> .c"<br>
>> "C:\\Program Files\\LLVM\\bin\\clang.exe" "-cc1" "-triple"<br>
>> "x86_64-pc-windows-m<br>
>> svc19.11.0" "-emit-obj" "-mrelax-all" "-mincremental-linker-compatible"<br>
>> "-disabl<br>
>> e-free" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name"<br>
>> "crash<br>
>> .c" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix"<br>
>> "-mfram<br>
>> e-pointer=none" "-fmath-errno" "-fno-rounding-math" "-masm-verbose"<br>
>> "-mconstruct<br>
>> or-aliases" "-munwind-tables" "-target-cpu" "x86-64" "-dwarf-column-info"<br>
>> "-ferr<br>
>> or-limit" "19" "-fmessage-length" "80" "-fno-use-cxa-atexit"<br>
>> "-fms-extensions" "<br>
>> -fms-compatibility" "-fms-compatibility-version=19.11"<br>
>> "-fdelayed-template-parsi<br>
>> ng" "-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-fcolor-diagnostics"<br>
>> "-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<br>
>> 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<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x16935a3<br>
>> #2 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x71f9<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x16bbee7<br>
>> #3 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1f84176<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x1f892b7<br>
>> #4 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1198ec1<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x1199442<br>
>> #5 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x18e1cb3<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x36ab935<br>
>> #6 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x28898a3<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x1dadb02<br>
>> #7 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1d70bc0<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x1e08ca9<br>
>> #8 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x6ebf<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x4337<br>
>> #9 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1d0d7c6<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x16b6d33<br>
>> #10 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1d0d00b<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x1c311d8<br>
>> #11 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x1c316d4<br>
>> C:\Program Files\LLVM\bin\clang.exe 0x1c1f357<br>
>> #12 0x0000000140db6eca C:\Program Files\LLVM\bin\clang.exe 0x3c93<br>
>> 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<br>
>> 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<br>
>> <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>
>><br>
<br>
</blockquote></div></div>