https://bugs.llvm.org/show_bug.cgi?id=41446

            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: r...@ocallahan.org
                CC: llvm-b...@lists.llvm.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to