projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fad55
)
Replace assert() with llvm_unreachable because it's obviously a typo.
author
Rui Ueyama
<ruiu@google.com>
Fri, 12 Oct 2018 18:29:30 +0000
(18:29 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 12 Oct 2018 18:29:30 +0000
(18:29 +0000)
llvm-svn: 344395
llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp
b/llvm/lib/CodeGen/AsmPrinter/Dwarf2BTF.cpp
index
20cc61d
..
b3e6fce
100644
(file)
--- 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;
}