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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 18:11:20 PDT 2020


MaskRay added a comment.

In D59553#2086883 <https://reviews.llvm.org/D59553#2086883>, @jhenderson wrote:

> FWIW, I wonder whether the test case would be better written with YAML rather than assembly input. It would allow for more explicitly specification of what relocations are emitted, and would allow reusing the same yaml blob using the `-D` option for the differences between the 32-bit and 64-bit cases, relocation types etc.


I think assembly is more readable than YAML. The assembly directive `.reloc 0, R_X86_64_64, sym` can encode arbitrary relocations.


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