From 0f3a56c85035ac2c1021f5835574f110bfe8f2ec Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 12 Oct 2018 18:29:30 +0000 Subject: Replace assert() with llvm_unreachable because it's obviously a typo. llvm-svn: 344395 --- llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib') diff --git a/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp b/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp index 20cc61df9b6..b3e6fce97b6 100644 --- a/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp @@ -155,7 +155,7 @@ Die2BTFEntry::Die2BTFEntry(const DIE &Die) : Die(Die) { case BTF_KIND_VOLATILE: break; default: - assert("Invalid Die passed into BTFTypeEntry()"); + llvm_unreachable("Invalid Die passed into BTFTypeEntry()"); break; } -- cgit v1.2.3