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

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 10:21:46 PST 2020


probinson added inline comments.


================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:647
+          // the address and continue to the next opcode.
+          if (OpcodeAddressSize != 4 && OpcodeAddressSize != 8) {
+            RecoverableErrorCallback(createStringError(
----------------
I just happened to notice D73961 which says AVR usually has 2-byte addresses.  Maybe that's a broader issue for a separate patch but there are a lot of 16-bit machines still out there in the world.


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