https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107950
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The vtable will only be emitted in the TU containing the key function, which is that get_text function defined in the front end.
redi at gcc dot gnu.org via Gcc-bugs Fri, 02 Dec 2022 11:22:39 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107950
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- The vtable will only be emitted in the TU containing the key function, which is that get_text function defined in the front end.