[PATCH] D70524: Support DebugInfo generation for auto return type for C++ functions.

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 6 09:44:12 PST 2019


probinson added a comment.

> Perhaps we should implement this mode under -fno-standalone-debug (or something more aggressive) since "standalone" is one of the only places I can think of where having the full class definition would be handy

You'd also want it for type units, so they deduplicate more reliably?  And probably should be DWARF only, not CodeView?  But yeah, I'm down for it.

This tactic would depend on the debuggers knowing they are unlikely to get a full class description and shouldn't throw away any class they've "already seen."  I remember that was an issue with, uh, one of those other debuggers that I never use.  They might take the first one they see, and shrug off any others as not contributing anything really important.  That would have to change.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70524/new/

https://reviews.llvm.org/D70524





More information about the cfe-commits mailing list