diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp index dca85c73f001..c927bad4855e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp @@ -228,6 +228,7 @@ unsigned DIEValue::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { SIZE_OF_IMPL(LocList) #undef SIZE_OF_IMPL } + llvm_unreachable("Unknown DIE kind"); } #ifndef NDEBUG