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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to