[all-commits] [llvm/llvm-project] d01917: [LLDB] Explicitly declare constructor in `Persiste...

Laszlo Kindrat via All-commits all-commits at lists.llvm.org
Fri May 26 06:36:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d01917c507a3b195109001d1b9a91c4fbdbb5a71
      https://github.com/llvm/llvm-project/commit/d01917c507a3b195109001d1b9a91c4fbdbb5a71
  Author: Laszlo Kindrat <laszlo at modular.com>
  Date:   2023-05-26 (Fri, 26 May 2023)

  Changed paths:
    M lldb/include/lldb/Expression/ExpressionVariable.h
    M lldb/source/Expression/ExpressionVariable.cpp

  Log Message:
  -----------
  [LLDB] Explicitly declare constructor in `PersistentExpressionState`

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




More information about the All-commits mailing list