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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs