[lldb-dev] [Bug 27883] New: TestConstVariables.py fails on arm/aarch64 linux targets failing frame variable type lookup

via lldb-dev lldb-dev at lists.llvm.org
Wed May 25 14:40:49 PDT 2016


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

            Bug ID: 27883
           Summary: TestConstVariables.py fails on arm/aarch64 linux
                    targets failing frame variable type lookup
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: omair.javaid at linaro.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

TestConstVariables.py fails on arm/aarch64 linux targets failing frame variable
type lookup

Following error is encountered:

(lldb) frame variable index
(int32_t) index = 512
(lldb) expression (index + 512)
(int) $1 = 1024
(lldb) expr (int)getpid(); (index - 256)
error: 'index' has unknown type; cast it to its declared type to use it
error: 1 error parsing expression


This error is compiler specific and visible with > gcc 5.x.x and gcc < 4.9.x.
Seems to be passing with aarch64-linux-gnu-gcc 4.9

-- 
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/20160525/666f6cfc/attachment.html>


More information about the lldb-dev mailing list