[Mlir-commits] [mlir] [MLIR][LLVM] Add flags field to the DIDerivedType attribute (PR #177889)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Jan 25 17:34:23 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3453 tests passed
* 398 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/DebugTypeGenerator.cpp.o</summary>
```
FAILED: tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/DebugTypeGenerator.cpp.o
sccache /opt/llvm/bin/clang++ -DFLANG_INCLUDE_TESTS=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/lib/Optimizer/Transforms -I/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Optimizer/Transforms -I/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/../mlir/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../clang/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument -Wstring-conversion -Wcovered-switch-default -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/DebugTypeGenerator.cpp.o -MF tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/DebugTypeGenerator.cpp.o.d -o tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/DebugTypeGenerator.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp:441:31: error: too few arguments to function call, expected 10, have 9
437 | mlir::LLVM::DIDerivedTypeAttr tyAttr = mlir::LLVM::DIDerivedTypeAttr::get(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
438 | context, llvm::dwarf::DW_TAG_member,
439 | mlir::StringAttr::get(context, fieldName), elemTy, byteSize * 8,
440 | byteAlign * 8, offset * 8, /*optional<address space>=*/std::nullopt,
441 | /*extra data=*/nullptr);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.h.inc:865:28: note: 'get' declared here
865 | static DIDerivedTypeAttr get(::mlir::MLIRContext *context, unsigned tag, StringAttr name, DITypeAttr baseType, uint64_t sizeInBits, uint32_t alignInBits, uint64_t offsetInBits, std::optional<unsigned> dwarfAddressSpace, DIFlags flags, DINodeAttr extraData);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp:483:31: error: too few arguments to function call, expected 10, have 9
479 | mlir::LLVM::DIDerivedTypeAttr tyAttr = mlir::LLVM::DIDerivedTypeAttr::get(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
480 | context, llvm::dwarf::DW_TAG_member, mlir::StringAttr::get(context, ""),
481 | elemTy, byteSize * 8, byteAlign * 8, offset * 8,
482 | /*optional<address space>=*/std::nullopt,
483 | /*extra data=*/nullptr);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.h.inc:865:28: note: 'get' declared here
865 | static DIDerivedTypeAttr get(::mlir::MLIRContext *context, unsigned tag, StringAttr name, DITypeAttr baseType, uint64_t sizeInBits, uint32_t alignInBits, uint64_t offsetInBits, std::optional<unsigned> dwarfAddressSpace, DIFlags flags, DINodeAttr extraData);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp:676:71: error: too few arguments to function call, expected 10, have 9
672 | return mlir::LLVM::DIDerivedTypeAttr::get(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
673 | context, llvm::dwarf::DW_TAG_pointer_type,
674 | mlir::StringAttr::get(context, ""), elTyAttr, /*sizeInBits=*/ptrSize * 8,
675 | /*alignInBits=*/0, /*offset=*/0,
676 | /*optional<address space>=*/std::nullopt, /*extra data=*/nullptr);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.h.inc:865:28: note: 'get' declared here
865 | static DIDerivedTypeAttr get(::mlir::MLIRContext *context, unsigned tag, StringAttr name, DITypeAttr baseType, uint64_t sizeInBits, uint32_t alignInBits, uint64_t offsetInBits, std::optional<unsigned> dwarfAddressSpace, DIFlags flags, DINodeAttr extraData);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp:745:73: error: too few arguments to function call, expected 10, have 9
741 | return mlir::LLVM::DIDerivedTypeAttr::get(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
742 | context, llvm::dwarf::DW_TAG_pointer_type,
743 | mlir::StringAttr::get(context, ""), subroutineTy,
744 | /*sizeInBits=*/ptrSize * 8, /*alignInBits=*/0, /*offset=*/0,
745 | /*optional<address space>=*/std::nullopt, /*extra data=*/nullptr);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.h.inc:865:28: note: 'get' declared here
865 | static DIDerivedTypeAttr get(::mlir::MLIRContext *context, unsigned tag, StringAttr name, DITypeAttr baseType, uint64_t sizeInBits, uint32_t alignInBits, uint64_t offsetInBits, std::optional<unsigned> dwarfAddressSpace, DIFlags flags, DINodeAttr extraData);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/177889
More information about the Mlir-commits
mailing list