<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">A few tests seem broken for a long time, some for more than a month. Would it possible for respective owners to take a look please?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m at checkout 133a7e631cee97965e310f0d110739217427fd3d, compiling on Windows 10.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">These tests fail with Visual Studio 2019:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Failing Tests (7):<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    Clang Tools :: clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    Clang Tools :: clang-tidy/checkers/performance-noexcept-move-constructor-fix.cpp<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    LLVM :: MC/MachO/gen-dwarf-cpp.s<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    LLVM :: MC/MachO/gen-dwarf-macro-cpp.s<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    LLVM :: MC/MachO/gen-dwarf-producer.s<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    LLVM :: MC/MachO/gen-dwarf.s<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    Polly :: ScopInfo/memset_null.ll<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">  Expected Passes    : 57692<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">  Expected Failures  : 283<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">  Unsupported Tests  : 1941<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">  Unexpected Failures: 7<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The clang-tidy tests fail since end of November-December.<o:p></o:p></p>
<p class="MsoNormal">The MachO tests fail since about the beginning of December.<o:p></o:p></p>
<p class="MsoNormal">The Polly test fails since a few days ago.<o:p></o:p></p>
<p class="MsoNormal">(see below for more info)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using the following cmake cmd-line:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">cmake -GNinja %ROOT%/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_LIBXML2=OFF -DCMAKE_C_COMPILER="%VS2019%/bin/HostX64/x64/cl.EXE" -DCMAKE_CXX_COMPILER="%VS2019%/bin/HostX64/x64/cl.EXE"
 -DCMAKE_LINKER="%VS2019%/bin/HostX64/x64/link.EXE" -DLLVM_ENABLE_PROJECTS="llvm;clang;lld;clang-tools-extra;compiler-rt;mlir;polly" -DLLVM_ENABLE_PDB=ON -DLLVM_POLLY_LINK_INTO_TOOLS=ON<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">These tests fail with Clang 9.0.1:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Failing Tests (3):<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    Clang Tools :: clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    Clang Tools :: clang-tidy/checkers/performance-noexcept-move-constructor-fix.cpp<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">    Polly :: ScopInfo/memset_null.ll<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">  Expected Passes    : 57727<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">  Expected Failures  : 283<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">  Unsupported Tests  : 1911<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">  Unexpected Failures: 3<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">1 warning(s) in tests<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using the following cmake cmd-line:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">cmake -GNinja %ROOT%/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_LIBXML2=OFF -DCMAKE_C_COMPILER="%LLVM%/bin/clang-cl.EXE" -DCMAKE_CXX_COMPILER="%LLVM%/bin/clang-cl.EXE"
 -DCMAKE_LINKER="%LLVM%/bin/lld-link.EXE" -DLLVM_ENABLE_PROJECTS="llvm;clang;lld;clang-tools-extra;compiler-rt;mlir;polly" -DLLVM_ENABLE_PDB=ON -DLLVM_POLLY_LINK_INTO_TOOLS=ON -DLLVM_ENABLE_LLD=ON<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance!<o:p></o:p></p>
<p class="MsoNormal">Alex.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The clang-tidy cert-mem57 tests seem to be related to varying messages (warning|error) being emitted.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">All three MachO/gen-dwarf test are crashing at about the same place:<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Stack dump:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">0.      Program arguments: d:\llvm-project\buildninjarelmsvc\bin\llvm-dwarfdump.exe -all D:\llvm-project\buildninjaRelMSVC\test\MC\MachO\Output\gen-dwarf.s.tmp<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#0 0x00007ff6c125dfb8 llvm::DWARFCompileUnit::dump(class llvm::raw_ostream &, struct llvm::DIDumpOptions) D:\llvm-project\llvm\lib\DebugInfo\DWARF\DWARFCompileUnit.cpp:23:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#1 0x00007ff6c1236e18 <lambda_25ce692e137c1a998cd3557ebf29fa33>::operator() D:\llvm-project\llvm\lib\DebugInfo\DWARF\DWARFContext.cpp:367:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#2 0x00007ff6c123968b llvm::DWARFContext::dump(class llvm::raw_ostream &, struct llvm::DIDumpOptions, class std::array<class llvm::Optional<unsigned __int64>, 28>) D:\llvm-project\llvm\lib\DebugInfo\DWARF\DWARFContext.cpp:372:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#3 0x00007ff6c12197f8 dumpObjectFile D:\llvm-project\llvm\tools\llvm-dwarfdump\llvm-dwarfdump.cpp:448:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#4 0x00007ff6c1218486 std::_Func_impl_no_alloc<bool (__cdecl *)(class llvm::object::ObjectFile &, class llvm::DWARFContext &, class llvm::Twine, class llvm::raw_ostream &), bool, class llvm::object::ObjectFile
 &, class llvm::DWARFContext &, class llvm::Twine, class llvm::raw_ostream &>::_Do_call(class llvm::object::ObjectFile &, class llvm::DWARFContext &, class llvm::Twine &&, class llvm::raw_ostream &) C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.24.28314\include\functional:927:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#5 0x00007ff6c121c519 handleBuffer D:\llvm-project\llvm\tools\llvm-dwarfdump\llvm-dwarfdump.cpp:495:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#6 0x00007ff6c121d16a handleFile D:\llvm-project\llvm\tools\llvm-dwarfdump\llvm-dwarfdump.cpp:528:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#7 0x00007ff6c121eb87 main D:\llvm-project\llvm\tools\llvm-dwarfdump\llvm-dwarfdump.cpp:643:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#8 0x00007ff6c16b6420 __scrt_common_main_seh d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288:0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#9 0x00007ffb52557bd4 (C:\WINDOWS\System32\KERNEL32.DLL+0x17bd4)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">#10 0x00007ffb5278ced1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x6ced1)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">error: command failed with exit status: 3221225477<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Polly :: ScopInfo/memset_null.ll fails because the second opt fails:<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">D:\llvm-project>buildninjarelmsvc\bin\opt  -polly-process-unprofitable  -polly-remarks-minimal  -polly-use-llvm-names  -polly-import-jscop-dir=D:\llvm-project\polly\test\ScopInfo  -polly-codegen-verify  -polly-allow-modref-calls
 -polly-scops -analyze < D:\llvm-project\polly\test\ScopInfo\memset_null.ll<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'for.cond5.preheader.us221 => for.end68' in function 'test':<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Invalid Scop!<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'entry => for.end68' in function 'test':<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Invalid Scop!<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'entry => <Function Return>' in function 'test':<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Invalid Scop!<o:p></o:p></p>
</div>
</body>
</html>