Skip to content

cl.exe very slow on AST\Interp\Interp.cpp #102513

Open
@vitalybuka

Description

@vitalybuka

https://lab.llvm.org/buildbot/#/builders/sanitizer-windows

command timed out: 1200 seconds without output running ['python', '../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py', '--jobs=16'], attempting to kill

From the bot:


 C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe  /nologo /TP
 -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0
 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
 -IC:\b\slave\sanitizer-windows\build\stage1\tools\clang\lib\AST
 -IC:\b\slave\sanitizer-windows\llvm-project\clang\lib\AST
 -IC:\b\slave\sanitizer-windows\llvm-project\clang\include
 -IC:\b\slave\sanitizer-windows\build\stage1\tools\clang\include
 -IC:\b\slave\sanitizer-windows\build\stage1\include
 -IC:\b\slave\sanitizer-windows\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline
 /Zc:preprocessor /Zc:__cplusplus /Zi /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267
 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512
 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805
 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2
 -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes
 /Fotools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Interp.cpp.obj
 /Fdtools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ /FS -c
 C:\b\slave\sanitizer-windows\llvm-project\clang\lib\AST\Interp\Interp.cpp

It's probably always slow, but if a lot of compilation, command working in background taking >1200 sec, but ninja output is not stale

however if build is small incremental, this compiler invocation is bottle neck and we hit silent 1200

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions