[PATCH] D84870: [DebugInfo] Fix to ctor homing to ignore classes with trivial ctors.

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 14:30:52 PDT 2020


dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.

In D84870#2183096 <https://reviews.llvm.org/D84870#2183096>, @akhuang wrote:

> remove change to add class types to retained types list,
>
> also fix the test case to be a struct that previously didn't
> get complete debug info.

Ah, I see what you mean. Perhaps the implementation can/should be changed to trigger on source uses of the ctor rather than only DWARF uses? Though I suppose that'd have problems with the ctor being used in unused code. (like the "requires complete type" optimization does - the type can be required to be complete in unused code)

Sounds good!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84870



More information about the cfe-commits mailing list