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

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@lists.llvm.org
Reporter omair.javaid@linaro.org
CC llvm-bugs@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