[Lldb-commits] [PATCH] D113498: [lldb] Constant-resolve operands to `getelementptr`

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 8 13:36:28 PST 2022


shafik accepted this revision.
shafik added a comment.
This revision is now accepted and ready to land.

I believe this a program like this

  int main() {
    int arr[2]{0};
  
    return arr[1];
  } 

and an expression like this `expr arr[0]` will give us the constant expression `getelementptr` at least my testing seems to show that.

Otherwise this looks good.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113498/new/

https://reviews.llvm.org/D113498



More information about the lldb-commits mailing list