forked from OSchip/llvm-project
Add an assert so that new builtins do not sneak without proper debug info.
llvm-svn: 139514
This commit is contained in:
parent
ba15240e83
commit
33e097b699
|
@ -290,6 +290,8 @@ llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT) {
|
|||
const char *BTName = NULL;
|
||||
switch (BT->getKind()) {
|
||||
default:
|
||||
assert(0 && "Unexpected builtin");
|
||||
return llvm::DIType();
|
||||
case BuiltinType::Void:
|
||||
return llvm::DIType();
|
||||
case BuiltinType::ObjCClass:
|
||||
|
|
Loading…
Reference in New Issue