diff --git a/include/llvm/IR/DebugInfo.h b/include/llvm/IR/DebugInfo.h index 4a80359f721..b2fc6fa95d4 100644 --- a/include/llvm/IR/DebugInfo.h +++ b/include/llvm/IR/DebugInfo.h @@ -904,7 +904,7 @@ public: case dwarf::DW_OP_plus: std::advance(I, 2); break; case dwarf::DW_OP_deref: std::advance(I, 1); break; default: - assert("unsupported operand"); + llvm_unreachable("unsupported operand"); } } };