[Lldb-commits] [PATCH] D106084: [DebugInfo] Switch to using constructor homing (-debug-info-kind=constructor) by default when debug info is enabled

Jeremy Morse via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 20 09:34:18 PDT 2021


jmorse added a comment.

In D106084#2890541 <https://reviews.llvm.org/D106084#2890541>, @probinson wrote:

> @jmorse am I remembering correctly, that we require dllimport-style annotations, so "limited" actually includes these types even if they aren't constructed locally?  I am vague on the details here.  But if ctor homing and limited both will consider a dllimport-ed type as requiring a full description, that's not a reason to pick one over the other.

For anything shared between modules, indeed it needs the annotations (we try to follow Windows here). I believe there can still be un-exported types from the other modules headers that qualify for inclusion under "Limited" mode but won't for "Constructor",  and that's the benefit of Constructor mode / price if the other module isn't built with debug-info.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106084



More information about the lldb-commits mailing list