[Bug 27963] New: static variables are not listed with "(lldb) target variable" when initialized in-place

Bug ID 27963
Summary static variables are not listed with “(lldb) target variable” when initialized in-place
Product lldb
Version 3.8
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter manstetten@iue.tuwien.ac.at
CC llvm-bugs@lists.llvm.org
Classification Unclassified

"(lldb) target variable" does not list static data members that are initialized
in-place, e.g.:

class A {
    static const int i = 7;
};

When initialized like this:

class A {
    static const int i;
};

const int A::i = 7;

, it works fine.