This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Explicitly declare constructor in `PersistentExpressionState`
ClosedPublic

Authored by laszlokindrat on May 25 2023, 2:19 PM.

Details

Summary

It seems that when trying to link the lldb library explicitly, the inlined default constructor cannot find the vtable for the class. This patch fixes this by explicitly declaring a default constructor in PersistentExpressionState, and providing the definition in the source file.

Diff Detail

Event Timeline

laszlokindrat created this revision.May 25 2023, 2:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2023, 2:19 PM
laszlokindrat requested review of this revision.May 25 2023, 2:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2023, 2:19 PM
wallace accepted this revision.May 25 2023, 2:19 PM

thanks!

This revision is now accepted and ready to land.May 25 2023, 2:19 PM