https://llvm.org/bugs/show_bug.cgi?id=28248
Bug ID: 28248 Summary: [DebugInfo] Missing debug info for abstract classes with constexpr constructors with -flimited-debug-info Product: clang Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: LLVM Codegen Assignee: unassignedclangb...@nondot.org Reporter: r...@google.com CC: dblai...@gmail.com, llvm-bugs@lists.llvm.org Classification: Unclassified While working on https://llvm.org/bugs/show_bug.cgi?id=28150, I noticed that this C++ doesn't generate any debug info describing class 'A' in C++11: struct A { virtual void f() = 0; }; struct B : A { virtual void f() {} }; B b; On Windows, Clang defaults to C++11, so we don't get this debug info. I think the C++11 aspect has to do with A's default constructor being constexpr. Adding a user-defined ctor to A ensures that the debug info is emitted. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs