This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Move various constructor definitions from .h to .cpp
ClosedPublic

Authored by rriddle on Mar 30 2023, 11:43 AM.

Details

Summary

I ran into issues with linking downstream language plugin to liblldb in
debug builds, hitting link time errors of form:

undefined reference to `vtable for  lldb_private::<Insert LLDB class here>'

Anchoring the vtable to the .cpp files resolved those issues.

Diff Detail

Event Timeline

rriddle created this revision.Mar 30 2023, 11:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 11:43 AM
Herald added a subscriber: bollu. · View Herald Transcript
rriddle requested review of this revision.Mar 30 2023, 11:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 11:43 AM
This revision is now accepted and ready to land.Mar 30 2023, 11:46 AM