[PATCH] D150004: [RISCV] .debug_line: emit relocations for assembly input files

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 10:02:45 PDT 2023


MaskRay added a comment.

In D150004#4328337 <https://reviews.llvm.org/D150004#4328337>, @dblaikie wrote:

> Some overlap (re: relaxation) with D140478 <https://reviews.llvm.org/D140478> - it would be good to have some utility for checking whether a given instruction range may be relaxed (even if it's coarse-grained to the whole function) and make choices about encoding on the basis of that utility/test.

I can read D140478 <https://reviews.llvm.org/D140478> more closely, but I think D140478 <https://reviews.llvm.org/D140478> and this patch are different.

For `.debug_line` and `.debug_frame` special handling, we really just want to get rid of the legacy "fast path" (faster for assembling but  slow for direct machine code emission, added circa 2010 or before).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150004



More information about the llvm-commits mailing list