Add some helpful comments on DIEValue types that we expect to hash.

llvm-svn: 203055
This commit is contained in:
Eric Christopher 2014-03-06 01:32:56 +00:00
parent 6daf2aa140
commit 6bb07f6024
1 changed files with 4 additions and 1 deletions

View File

@ -346,12 +346,15 @@ void DIEHash::hashAttribute(AttrEntry Attr, dwarf::Tag Tag) {
hashBlockData(cast<DIELoc>(Value)->getValues());
}
break;
// FIXME: Handle loclistptr.
case DIEValue::isLocList:
// FIXME: It's uncertain whether or not we should handle this at the moment.
case DIEValue::isExpr:
case DIEValue::isLabel:
case DIEValue::isDelta:
// These two were handled above.
case DIEValue::isEntry:
case DIEValue::isTypeSignature:
case DIEValue::isLocList:
llvm_unreachable("Add support for additional value types.");
}
}