/// Returns the length of this table, including the length field, or 0 if the
/// length has not been determined (e.g. because the table has not yet been
/// parsed, or there was a problem in parsing).
- uint64_t length() const;
+ uint32_t length() const;
};
} // end namespace llvm
" has too small length (0x%" PRIx32
") to contain a complete header",
TableOffset, length());
- uint64_t End = TableOffset + length();
+ uint32_t End = TableOffset + length();
if (!Data.isValidOffsetForDataOfSize(TableOffset, End - TableOffset))
return createError(
"section is not large enough to contain a .debug_rnglists table "
}
}
-uint64_t DWARFDebugRnglists::length() const {
+uint32_t DWARFDebugRnglists::length() const {
if (HeaderData.Length == 0)
return 0;
// TODO: DWARF64 support.