[LLVMbugs] [Bug 14734] New: debug info for class members are not in written order (static members appear after non-static members)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 28 14:06:30 PST 2012


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

             Bug #: 14734
           Summary: debug info for class members are not in written order
                    (static members appear after non-static members)
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            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


given:

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

  int foo::j = 7;

then in gdb:

  $ ptype foo
  type = struct foo {
    int i;
    int k;
    static int j;
  }

with Clang's debug info, the above output is given, with GCC's debug info they
members are listed in written order (i, j, k)

This is a pretty low-priority issue so far as I can tell, but does cause a
failure in gdb.cp/pr10687.exp in the GDB 7.5 test suite.

-- 
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