mfrancio wrote: Doesn't this look like the proper fix? llvm::cl::OptionValue<OpPassManager>::OptionValue::~OptionValue() = default; I came across the same during our latest LLVM upgrade. https://github.com/llvm/llvm-project/pull/73640