Such a type is never going to have a ctor home, and may be used for type
punning or other ways of creating objects.
May be a more generally acceptable solution in some cases compared to
attributing with [[clang::standalone_debug]].
Paths
| Differential D144931
DebugInfo: Disable ctor homing for types with only deleted (non copy/move) ctors ClosedPublic Authored by dblaikie on Feb 27 2023, 4:56 PM.
Details Summary Such a type is never going to have a ctor home, and may be used for type May be a more generally acceptable solution in some cases compared to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 27 2023, 5:08 PM This revision was landed with ongoing or failed builds.Feb 27 2023, 5:25 PM Closed by commit rGd8a1a559f300: DebugInfo: Disable ctor homing for types with only deleted (non copy/move) ctors (authored by dblaikie). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 500981 clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-limited-ctor.cpp
|