summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud