diff options
| author | Eric Christopher <echristo@gmail.com> | 2014-03-06 01:32:56 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2014-03-06 01:32:56 +0000 |
| commit | 6bb07f60246be22c799f6a5450661b1af830ecbe (patch) | |
| tree | 04535859d7e09bda82224af0cfe28bc715bf5d3a /llvm | |
| parent | 6daf2aa1404d69e77d7ace64a709033abc9d3405 (diff) | |
| download | bcm5719-llvm-6bb07f60246be22c799f6a5450661b1af830ecbe.tar.gz bcm5719-llvm-6bb07f60246be22c799f6a5450661b1af830ecbe.zip | |
Add some helpful comments on DIEValue types that we expect to hash.
llvm-svn: 203055
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp b/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp index bc8c6957b06..ea0c1cf7cb9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp +++ b/llvm/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."); } } |

