[all-commits] [llvm/llvm-project] afb446: [lldb] Constant-resolve operands to `getelementptr`
Andy Hippo via All-commits
all-commits at lists.llvm.org
Wed Feb 9 08:40:02 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: afb446e8a61de4a41504a71f61a4b1d93ce22716
https://github.com/llvm/llvm-project/commit/afb446e8a61de4a41504a71f61a4b1d93ce22716
Author: Andy Yankovsky <weratt at gmail.com>
Date: 2022-02-09 (Wed, 09 Feb 2022)
Changed paths:
M lldb/source/Expression/IRInterpreter.cpp
M lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
Log Message:
-----------
[lldb] Constant-resolve operands to `getelementptr`
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
Reviewed By: #lldb, shafik
Differential Revision: https://reviews.llvm.org/D113498
More information about the All-commits
mailing list