Do not drop uint128 on the floor.

llvm-svn: 130929
This commit is contained in:
Devang Patel 2011-05-05 17:06:30 +00:00
parent 441a01a2b8
commit 979aba5d09
2 changed files with 9 additions and 0 deletions

View File

@ -335,10 +335,12 @@ llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT) {
case BuiltinType::SChar: Encoding = llvm::dwarf::DW_ATE_signed_char; break;
case BuiltinType::UShort:
case BuiltinType::UInt:
case BuiltinType::UInt128:
case BuiltinType::ULong:
case BuiltinType::ULongLong: Encoding = llvm::dwarf::DW_ATE_unsigned; break;
case BuiltinType::Short:
case BuiltinType::Int:
case BuiltinType::Int128:
case BuiltinType::Long:
case BuiltinType::LongLong: Encoding = llvm::dwarf::DW_ATE_signed; break;
case BuiltinType::Bool: Encoding = llvm::dwarf::DW_ATE_boolean; break;

View File

@ -47,3 +47,10 @@ struct foo2 foo2;
typedef int barfoo;
barfoo foo() {
}
// CHECK: __uint128_t
__uint128_t foo128 ()
{
__uint128_t int128 = 44;
return int128;
}