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.
Differential Revision: https://reviews.llvm.org/D151501
/// LLVM RTTI support
static char ID;
+ PersistentExpressionState();
+
virtual ~PersistentExpressionState();
virtual lldb::ExpressionVariableSP
char PersistentExpressionState::ID;
+PersistentExpressionState::PersistentExpressionState() = default;
+
PersistentExpressionState::~PersistentExpressionState() = default;
lldb::addr_t PersistentExpressionState::LookupSymbol(ConstString name) {