[PATCH] D126257: Round up zero-sized symbols to 1 byte in `.debug_aranges`.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 17:03:45 PDT 2022


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

In D126257#3535829 <https://reviews.llvm.org/D126257#3535829>, @pcwalton wrote:

> How's this?

If we're going in this direction, I think this is the way to implement it - though I'm still leaning towards GCC's choice of "all symbols (even data symbols) should be non-zero length" (at the object code level, they can be zero length at the source level) to avoid ambiguities/confusion.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126257



More information about the llvm-commits mailing list