D98289 was erroneously reporting invalid range list offset 0x20110 instead of invalid range list table index 0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Paths
| Differential D98589
[llvm] [dwarf] Fix DWARFListTableHeader::getOffsetEntry off-by-one ClosedPublic Authored by jankratochvil on Mar 13 2021, 1:56 PM.
Details Summary D98289 was erroneously reporting invalid range list offset 0x20110 instead of invalid range list table index 0.
Diff Detail
Unit TestsFailed Event Timelinejankratochvil created this revision. This revision is now accepted and ready to land.Mar 14 2021, 1:08 PM This revision was landed with ongoing or failed builds.Mar 14 2021, 1:43 PM Closed by commit rGa28facba1ccd: [llvm] [dwarf] Fix DWARFListTableHeader::getOffsetEntry off-by-one (authored by jankratochvil). · Explain Why This revision was automatically updated to reflect the committed changes. jankratochvil added inline comments.
Revision Contents
Diff 330472 llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h
llvm/unittests/DebugInfo/DWARF/DWARFListTableTest.cpp
|
I think EXPECT_EQ(Offset0, uint64_t(4)); (note missing *) should be enough.