rturrado wrote:
> @rturrado have you been able to investigate the CI crashes?
Hm... weird, `ninja -C build check-lang-codegen-x86` is passing 262 tests for
me locally.
But also weird, and it may be related to those CI issues, I'm still getting 2
build warnings locally:
```
[35/72] Building CXX object
tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltin.cpp.o
In file included from
/home/rturrado/Projects/llvm-project/llvm/include/llvm/ADT/APSInt.h:18,
from
/home/rturrado/Projects/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19,
from
/home/rturrado/Projects/llvm-project/clang/include/clang/AST/APValue.h:17,
from
/home/rturrado/Projects/llvm-project/clang/lib/AST/ByteCode/Integral.h:16,
from
/home/rturrado/Projects/llvm-project/clang/lib/AST/ByteCode/Boolean.h:12,
from
/home/rturrado/Projects/llvm-project/clang/lib/AST/ByteCode/InterpBuiltin.cpp:9:
In destructor ‘llvm::APInt::~APInt()’,
inlined from ‘clang::interp::APSInt clang::interp::Boolean::toAPSInt()
const’ at
/home/rturrado/Projects/llvm-project/clang/lib/AST/ByteCode/Boolean.h:50:19,
inlined from ‘bool clang::interp::interp__builtin_select(InterpState&,
CodePtr, const clang::CallExpr*)’ at
/home/rturrado/Projects/llvm-project/clang/lib/AST/ByteCode/InterpBuiltin.cpp:2799:7:
/home/rturrado/Projects/llvm-project/llvm/include/llvm/ADT/APInt.h:192:18:
warning: ‘void operator delete [](void*)’ called on a pointer to an unallocated
object ‘1’ [-Wfree-nonheap-object]
192 | delete[] U.pVal;
| ^~~~
In destructor ‘llvm::APInt::~APInt()’,
inlined from ‘clang::interp::APSInt clang::interp::Boolean::toAPSInt()
const’ at
/home/rturrado/Projects/llvm-project/clang/lib/AST/ByteCode/Boolean.h:50:19,
inlined from ‘bool clang::interp::interp__builtin_select(InterpState&,
CodePtr, const clang::CallExpr*)’ at
/home/rturrado/Projects/llvm-project/clang/lib/AST/ByteCode/InterpBuiltin.cpp:2799:7:
/home/rturrado/Projects/llvm-project/llvm/include/llvm/ADT/APInt.h:192:18:
warning: ‘void operator delete [](void*)’ called on a pointer to an unallocated
object ‘1’ [-Wfree-nonheap-object]
192 | delete[] U.pVal;
| ^~~~
```
However, the build errors seem to come from `ExprConstant.cpp`. I'm probably
returning an `unsigned char` instead of an `unsigned int` or something on those
lines. I'll have a look!
https://github.com/llvm/llvm-project/pull/166103
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits