summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-03-06 01:32:56 +0000
committerEric Christopher <echristo@gmail.com>2014-03-06 01:32:56 +0000
commitb29a86a832d9994138873674662bdce1ffa557de (patch)
tree5dc75a1a70e213ee8de2c5b1dd4606e223d1f013 /lib
parenta14dc34e10c8a57d57f37b437e2e6221585ef958 (diff)
downloadllvm-b29a86a832d9994138873674662bdce1ffa557de.tar.gz
llvm-b29a86a832d9994138873674662bdce1ffa557de.tar.bz2
llvm-b29a86a832d9994138873674662bdce1ffa557de.tar.xz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.cpp5
1 files changed, 4 insertions, 1 deletions
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<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.");
}
}