[lldb-dev] [Bug 41446] New: Architecture documentation on expressions is completely wrong

via lldb-dev lldb-dev at lists.llvm.org
Tue Apr 9 15:48:51 PDT 2019


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 at lists.llvm.org
          Reporter: roc at ocallahan.org
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190409/8783ba0d/attachment.html>


More information about the lldb-dev mailing list