[Lldb-commits] [PATCH] D113498: [lldb] Constant-resolve operands to `getelementptr`
Andy Yankovsky via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 9 10:42:20 PST 2021
werat created this revision.
werat requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Operands to `getelementptr` can be constants or constant expressions. Check
that all operands can be constant-resolved and resolve them during the
evaluation. If some operands can't be resolved as constants -- the expression
evaluation will fallback to JIT.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=52449
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113498
Files:
lldb/source/Expression/IRInterpreter.cpp
lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
lldb/test/API/lang/cpp/static_members/main.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113498.385890.patch
Type: text/x-patch
Size: 4420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211109/e5f46b77/attachment-0001.bin>
More information about the lldb-commits
mailing list