[flang-commits] [flang] [mlir] [mlir][debug] Allow multiple DIGlobalVariableExpression on globals. (PR #111981)
Tobias Gysi via flang-commits
flang-commits at lists.llvm.org
Fri Oct 11 04:41:35 PDT 2024
================
@@ -2089,7 +2089,7 @@ void GlobalOp::build(OpBuilder &builder, OperationState &result, Type type,
Attribute value, uint64_t alignment, unsigned addrSpace,
bool dsoLocal, bool threadLocal, SymbolRefAttr comdat,
ArrayRef<NamedAttribute> attrs,
- DIGlobalVariableExpressionAttr dbgExpr) {
+ ArrayRef<Attribute> dbgExprs) {
----------------
gysit wrote:
```suggestion
ArrayRef<DIGlobalVariableExpressionAttr> dbgExprs) {
```
Can this be typed (here and in the other places)?
https://github.com/llvm/llvm-project/pull/111981
More information about the flang-commits
mailing list