[PATCH] D40199: [dwarfdump] Fix spurious verification errors for DW_AT_location attributes

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 14:20:31 PST 2018


aprantl added inline comments.


================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp:427
+      VerifyLocation(
+          {reinterpret_cast<const char *>(Expr->data()), Expr->size()});
+    } else if (auto LocOffset = AttrValue.Value.getAsUnsignedConstant()) {
----------------
-> llvm::toStringRef(ArrayRef<uint8_t> Input)


https://reviews.llvm.org/D40199





More information about the llvm-commits mailing list