Index: include/llvm/ObjectYAML/WasmYAML.h =================================================================== --- include/llvm/ObjectYAML/WasmYAML.h +++ include/llvm/ObjectYAML/WasmYAML.h @@ -108,6 +108,7 @@ struct Section { Section(SectionType SecType) : Type(SecType) {} + virtual ~Section() {} SectionType Type; std::vector Relocations;