diff --git a/include/llvm/MC/MCSymbolizer.h b/include/llvm/MC/MCSymbolizer.h index 7861efb859f..cbbb591f1b8 100644 --- a/include/llvm/MC/MCSymbolizer.h +++ b/include/llvm/MC/MCSymbolizer.h @@ -49,8 +49,6 @@ public: /// \brief Construct an MCSymbolizer, taking ownership of \p RelInfo. MCSymbolizer(MCContext &Ctx, std::unique_ptr RelInfo) : Ctx(Ctx), RelInfo(std::move(RelInfo)) { - assert(this->RelInfo != nullptr && - "Cannot construct MCSymbolizer without relocation info."); } virtual ~MCSymbolizer();