[PATCH] D145093: Add map info for dereference pointer.
Jennifer Yu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 2 08:37:01 PST 2023
jyu2 added a comment.
In D145093#4164528 <https://reviews.llvm.org/D145093#4164528>, @ABataev wrote:
> What result produces `map(a[0][:3]`?
Yes, that would be another way to fix the runtime problem. However the difficulty is when process array section, section base is different.
with a[0][:3]
the section base is a[0]
with (*a)[:3], the section base is (*a); It is hard to set a[0] as section base during processing the array section.
That is why I am adding dereference pointer not a[0].
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145093/new/
https://reviews.llvm.org/D145093
More information about the cfe-commits
mailing list