Skip to content

Commit 903d6dc

Browse files
committed
Handle review comments.
1 parent 3921b16 commit 903d6dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ mlir::LLVM::DITypeAttr DebugTypeGenerator::convertBoxedSequenceType(
116116
unsigned offset = dimsOffset;
117117
const unsigned indexSize = dimsSize / 3;
118118
for ([[maybe_unused]] auto _ : seqTy.getShape()) {
119-
// For each dimension, find the offset of count and lower bound in the
120-
// descriptor and generate the dwarf expression to extract it.
119+
// For each dimension, find the offset of count, lower bound and stride in
120+
// the descriptor and generate the dwarf expression to extract it.
121121
// FIXME: If `indexSize` happens to be bigger than address size on the
122122
// system then we may have to change 'DW_OP_deref' here.
123123
addOp(llvm::dwarf::DW_OP_push_object_address, {});

0 commit comments

Comments
 (0)