[PATCH] D118004: [hmaptool] Fix dumping

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 3 15:18:59 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG0c1d330431f5: [hmaptool] Fix dumping (authored by smeenai).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118004/new/

https://reviews.llvm.org/D118004

Files:
  clang/utils/hmaptool/hmaptool


Index: clang/utils/hmaptool/hmaptool
===================================================================
--- clang/utils/hmaptool/hmaptool
+++ clang/utils/hmaptool/hmaptool
@@ -44,7 +44,7 @@
                         path,))
 
             (version, reserved, strtable_offset, num_entries,
-             num_buckets) = struct.unpack(header_fmt, data)
+             num_buckets, _) = struct.unpack(header_fmt, data)
 
             if version != 1:
                 raise SystemExit("error: %s: unknown headermap version: %r" % (


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118004.412847.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220303/106af8d3/attachment.bin>


More information about the cfe-commits mailing list