[PATCH] D141150: [DWARFLinker] Rewrite CU DW_AT_low_pc/high_pc pairs into DW_AT_ranges

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 06:18:06 PST 2023


avl added inline comments.


================
Comment at: llvm/lib/DWARFLinker/DWARFLinker.cpp:1428
   case dwarf::DW_AT_high_pc:
+    if (RewriteHighPC)
+      return true;
----------------
probably it is better to do as general option?

i.e. so that it could be set/unset for the DWARFLinker?


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

https://reviews.llvm.org/D141150



More information about the llvm-commits mailing list