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

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 10:25:30 PDT 2020


probinson added a comment.

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.


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