mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Add some helpful comments on DIEValue types that we expect to hash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203055 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -346,12 +346,15 @@ void DIEHash::hashAttribute(AttrEntry Attr, dwarf::Tag Tag) {
|
|||||||
hashBlockData(cast<DIELoc>(Value)->getValues());
|
hashBlockData(cast<DIELoc>(Value)->getValues());
|
||||||
}
|
}
|
||||||
break;
|
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::isExpr:
|
||||||
case DIEValue::isLabel:
|
case DIEValue::isLabel:
|
||||||
case DIEValue::isDelta:
|
case DIEValue::isDelta:
|
||||||
|
// These two were handled above.
|
||||||
case DIEValue::isEntry:
|
case DIEValue::isEntry:
|
||||||
case DIEValue::isTypeSignature:
|
case DIEValue::isTypeSignature:
|
||||||
case DIEValue::isLocList:
|
|
||||||
llvm_unreachable("Add support for additional value types.");
|
llvm_unreachable("Add support for additional value types.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user