[PATCH] D141350: Fix runtime problem for base class member data used in target region.

Jennifer Yu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 9 21:34:43 PST 2023


jyu2 added a comment.

In D141350#4038619 <https://reviews.llvm.org/D141350#4038619>, @ye-luo wrote:

> Does this patch work when there are more than one level of inheritance? For example `class B: public A; class C: public B`

Yes, that works.  For that we emit this[:1] instead.   I can add more test that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141350



More information about the cfe-commits mailing list