diff options
author | Ralf Jung <post@ralfj.de> | 2023-09-07 22:40:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 21:40:08 +0100 |
commit | 1c567a51f09237b16dc61af887a65834d70e44ff (patch) | |
tree | 5c9bee15895d6d659856f626800bb8e1a2ef4da4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 46f3ade5083b8bfce55c78a21086a487eaac6f99 (diff) | |
download | llvm-1c567a51f09237b16dc61af887a65834d70e44ff.zip llvm-1c567a51f09237b16dc61af887a65834d70e44ff.tar.gz llvm-1c567a51f09237b16dc61af887a65834d70e44ff.tar.bz2 |
getelementptr inbounds clarifications (#65478)
- For a long time I assumed that `inbounds` means "in-bounds of a *live*
allocation". @nikic told me that is not correct. I think this definitely
needs clarification in the docs.
- The point about successively adding the offsets to the current address
confused be because it talked about the successive addition of "an"
offset -- which one? My interpretation was, the total accumulated offset
computed in the previous step. But @nikic told me that's not correct,
adding each offset individually has to stay in-bounds for each step. I
hope by saying "each offset" this becomes more clear; I then also change
the previous bullet to use the same terminology.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions