[PATCH] D73962: [DebugInfo] Error if unsupported address size detected in line table

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 17:16:30 PST 2020


dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.

Sounds alright



================
Comment at: llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp:662
+  checkError(
+      "address size 0x03 of DW_LNE_set_address opcode at offset 0x00000030 is "
+      "unsupported",
----------------
A comment on the "addExtendedOpcode" might help make it clearer that that's the "interesting" part of the input & how half+byte == 3 bytes, which is the invalid value being tested for on this line? (what's the "addByte(0xaa)" for? that looks a bit opaque)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73962





More information about the llvm-commits mailing list