Bug ID 41446
Summary Architecture documentation on expressions is completely wrong
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter roc@ocallahan.org
CC llvm-bugs@lists.llvm.org
[https://lldb.llvm.org/architecture/index.html#expression](https://lldb.llvm.org/architecture/index.html#expression)
> The DWARF expression parser has been heavily modified to support type promotion, new opcodes needed for evaluating expressions with symbolic variable references (expression local variables, program variables), and other operators required by typical expressions such as assign, address of, float/double/long double floating point values, casting, and more.
Looks like this used to be true, but hasn't been true for years.
> Once expressions have be compiled into an AST, we can then traverse this AST and either generate a DWARF expression that contains simple opcodes that can be quickly re-evaluated each time an expression needs to be evaluated,
Looks like this doesn't happen. Instead LLIR is generated and then either
interpreted or JITed.