[LLVMbugs] [Bug 14471] New: debug info for static class members

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 30 13:29:37 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14471

             Bug #: 14471
           Summary: debug info for static class members
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: googler
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dblaikie at gmail.com
                CC: dgregor at apple.com, echristo at gmail.com,
                    llvmbugs at cs.uiuc.edu
            Blocks: 14330
    Classification: Unclassified


Clang does not produce debug info for static class members:

struct foo {
  int i;
  static int j;
};

unless they are defined in the TU. (ptype foo prints "struct foo { int i; };"
for the above code, even when both i and j are referenced, but j is not
defined)

"quality of implementation"

If this is resolved as "by design", the gdb 7.5 test suite should be updated to
account for that & pass rather than kfailing.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list