[PATCH] D59553: [WIP][LLD][ELF][DebugInfo] Use predefined value to mark debug address ranges pointing to deleted code.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 11:33:01 PDT 2020


dblaikie added a comment.

In D59553#2082737 <https://reviews.llvm.org/D59553#2082737>, @probinson wrote:

> I've filed a DWARF issue to reserve "-1" as the tombstone address value.  I wrote it up such that consumers should ignore that address and any address derived from it (e.g., base+offset).  I don't have the issue number for it yet, hopefully I'll remember to post it here when it's assigned.
>
> Using -2 for .debug_loc/.debug_ranges would have to be a convention, but is entirely "legal" from a DWARF standards perspective.


Thanks so much for starting the discussion/process with the DWARF Committee! (I guess once it's got an assigned number you could link it here & we can go CC ourselves ,maybe?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59553





More information about the llvm-commits mailing list