[PATCH] D107874: [DWARF] Find offset of attribute.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 31 16:54:52 PDT 2021


dblaikie accepted this revision.
dblaikie added a comment.

Do you need me to commit this for you, or can you commit it yourself?



================
Comment at: llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp:1787
+    EXPECT_TRUE((bool)AttrIndex);
+    EXPECT_EQ(*AttrIndex, (uint32_t)0);
+    uint64_t OffsetVal =
----------------
I'd probably write that as `0u` rather than with the cast, but whatever suits.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107874



More information about the llvm-commits mailing list