[PATCH] D94670: [DebugInfo][NFC] add a new DIE type to represent label + offset

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 20:30:07 PST 2021


ikudrin added a comment.

The comment was originally sent to D94668 <https://reviews.llvm.org/D94668>, but it looks like it suits here better.

Is it possible to use a .set pseudo-op <https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/assembler/idalangref_set_pseudoop.html> to define a symbol that can be referenced from other sections? Something like

    .dwsect 0x20000
  L...dwline.tmp:
    .set L...dwline, L...dwline.tmp-12
  L..line_table_start0.tmp:
    .set L..line_table_start0, L..line_table_start0.tmp-12
    .vbyte  2, 4
  ...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94670



More information about the llvm-commits mailing list