================
@@ -1143,6 +1143,8 @@ void OpEmitter::genAttrNameGetters() {
const char *const getAttrName = R"(
assert(index < {0} && "invalid attribute index");
assert(name.getStringRef() == getOperationName() && "invalid operation
name");
+ assert(!name.getAttributeNames().empty() && "empty attribute names. Is a new
"
----------------
rikhuijzer wrote:
Good tip. Thanks! I've implemented it and verified that it is triggered when
reverting the fix from this PR (`func::FuncDialect` in `dependentDialects`).
https://github.com/llvm/llvm-project/pull/72801
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits