[LLVMbugs] [Bug 14759] New: debug info does not provide pointer to member types
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Dec 31 02:04:30 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14759
Bug #: 14759
Summary: debug info does not provide pointer to member types
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
Debug info for:
struct foo {
int i;
};
typedef int foo::*PMI;
int main() {
PMI x = 0;
x = &foo::i;
}
reports that "ptype x" is "long" when compiled with Clang (and, correctly, "int
foo::*" when compiled with GCC 4.7).
Found by gdb.cp/member-ptr.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