Index: lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp =================================================================== --- lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp +++ lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp @@ -48,7 +48,7 @@ : MCAsmBackend(), STI(ARM_MC::createARMMCSubtargetInfo(TT, "", "")), isThumbMode(TT.startswith("thumb")), IsLittleEndian(IsLittle) {} - ~ARMAsmBackend() { + ~ARMAsmBackend() override { delete STI; } @@ -857,4 +857,3 @@ StringRef TT, StringRef CPU) { return createARMAsmBackend(T, MRI, TT, CPU, false); } -