diff options
| author | Rui Ueyama <ruiu@google.com> | 2018-10-12 18:29:30 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2018-10-12 18:29:30 +0000 |
| commit | 0f3a56c85035ac2c1021f5835574f110bfe8f2ec (patch) | |
| tree | 2dabb6edd5107f21753f326e166f86f51af8469e /llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp | |
| parent | f3fad55787af4aff3f4d9e10c86ddab20eabdeaf (diff) | |
| download | bcm5719-llvm-0f3a56c85035ac2c1021f5835574f110bfe8f2ec.tar.gz bcm5719-llvm-0f3a56c85035ac2c1021f5835574f110bfe8f2ec.zip | |
Replace assert() with llvm_unreachable because it's obviously a typo.
llvm-svn: 344395
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp | 2 |
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; } |

