Index: bolt/include/bolt/Core/BinaryFunction.h =================================================================== --- bolt/include/bolt/Core/BinaryFunction.h +++ bolt/include/bolt/Core/BinaryFunction.h @@ -1644,8 +1644,6 @@ uint16_t getProfileFlags() const { return ProfileFlags; } void addCFIInstruction(uint64_t Offset, MCCFIInstruction &&Inst) { - assert(!Instructions.empty()); - // Fix CFI instructions skipping NOPs. We need to fix this because changing // CFI state after a NOP, besides being wrong and inaccurate, makes it // harder for us to recover this information, since we can create empty BBs