[clang] [clang][Interp] Implement dynamic memory allocation handling (PR #70306)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 14 11:10:08 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows` running on `linaro-armv8-windows-msvc-05` while building `clang` at step 4 "build".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/141/builds/764
Here is the relevant piece of the build log for the reference:
```
Step 4 (build) failure: build (failure)
...
367.241 [2480/10/3839] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Function.cpp.obj
371.519 [2479/10/3840] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Context.cpp.obj
372.145 [2478/10/3841] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\ByteCodeEmitter.cpp.obj
372.883 [2477/10/3842] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpBuiltin.cpp.obj
381.067 [2476/10/3843] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\EvaluationResult.cpp.obj
381.398 [2475/10/3844] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\DynamicAllocator.cpp.obj
381.518 [2474/10/3845] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpBlock.cpp.obj
383.165 [2473/10/3846] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Compiler.cpp.obj
387.951 [2472/10/3847] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpFrame.cpp.obj
388.579 [2471/10/3848] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Interp.cpp.obj
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.obj
ccache C:\PROGRA~1\LLVM\bin\clang-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_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:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\clang\lib\AST -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\clang\lib\AST -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\clang\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\clang\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 /DNDEBUG -MD /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Interp.cpp.obj /Fdtools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ -c -- C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\clang\lib\AST\Interp\Interp.cpp
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\clang\lib\AST\Interp\Interp.cpp(718,17): error: call to constructor of 'APInt' (aka 'llvm::APInt') is ambiguous
718 | ElemQT, APInt(64, D->getNumElems(), false), nullptr,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include\llvm/ADT/APInt.h(111,3): note: candidate constructor
111 | APInt(unsigned numBits, uint64_t val, bool isSigned = false)
| ^
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include\llvm/ADT/APInt.h(137,3): note: candidate constructor
137 | APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]);
| ^
1 error generated.
394.070 [2471/9/3849] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpStack.cpp.obj
394.183 [2471/8/3850] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpState.cpp.obj
395.085 [2471/7/3851] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\PrimType.cpp.obj
396.192 [2471/6/3852] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Pointer.cpp.obj
400.254 [2471/5/3853] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Program.cpp.obj
403.797 [2471/4/3854] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Disasm.cpp.obj
404.875 [2471/3/3855] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\EvalEmitter.cpp.obj
406.878 [2471/2/3856] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ASTContext.cpp.obj
409.010 [2471/1/3857] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ExprConstant.cpp.obj
ninja: build stopped: subcommand failed.
```
https://github.com/llvm/llvm-project/pull/70306
More information about the cfe-commits
mailing list