[PATCH] D77592: [NFC}[CodeGen] Make VTable initialization a method of CGCXXABI

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 13 17:57:35 PDT 2020


rjmccall added a comment.

Thanks.  Having an enum like this would also be important if we wanted to implement the Itanium rule (as in, the actual Itanium architecture, not the generic C++ ABI) that v-tables contain "inline" function descriptors rather than pointers to them.  (On Itanium, a C function pointer is actually a pointer to a global descriptor object that's a pair of a function address and some other metadata necessary for the call.)  So it's a generalizable concept.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77592





More information about the cfe-commits mailing list