From b29a86a832d9994138873674662bdce1ffa557de Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 6 Mar 2014 01:32:56 +0000 Subject: 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 --- lib/CodeGen/AsmPrinter/DIEHash.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/CodeGen/AsmPrinter/DIEHash.cpp b/lib/CodeGen/AsmPrinter/DIEHash.cpp index bc8c6957b0..ea0c1cf7cb 100644 --- a/lib/CodeGen/AsmPrinter/DIEHash.cpp +++ b/lib/CodeGen/AsmPrinter/DIEHash.cpp @@ -346,12 +346,15 @@ void DIEHash::hashAttribute(AttrEntry Attr, dwarf::Tag Tag) { hashBlockData(cast(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."); } } -- cgit v1.2.3