Displaying 1 result from an estimated 1 matches for "8fb65bbe".
Did you mean:
8fb45b2e
2019 Feb 24
3
getelementptr inbounds with offset 0
Hi all,
What exactly are the rules for `getelementptr inbounds` with offset 0?
In Rust, we are relying on the fact that if we use, for example, `inttoptr` to
turn `4` into a pointer, we can then do `getelementptr inbounds` with offset 0
on that without LLVM deducing that there actually is any dereferencable memory
at location 4. The argument is that we can think of there being a zero-sized