[all-commits] [llvm/llvm-project] efb8a1: [BOLT][DWARF] Delete DW_AT_low_pc when converting ...

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Thu Aug 3 10:33:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efb8a1c906294656f07b53a4cc67aeb6470c2ecf
      https://github.com/llvm/llvm-project/commit/efb8a1c906294656f07b53a4cc67aeb6470c2ecf
  Author: Alexander Yermolovich <ayermolo at meta.com>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M bolt/test/X86/debug-fission-single-convert.s
    M bolt/test/X86/dwarf4-df-dualcu.test
    M bolt/test/X86/dwarf5-df-dualcu.test
    M bolt/test/X86/dwarf5-df-mono-dualcu.test
    M bolt/test/X86/dwarf5-dwarf4-monolithic.test
    M bolt/test/X86/dwarf5-locaddrx.test
    M bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
    M bolt/test/X86/dwarf5-two-rnglists.test

  Log Message:
  -----------
  [BOLT][DWARF] Delete DW_AT_low_pc when converting to ranges

Now that we have new DWARF Rewriter we can remove DW_AT_low_pc when converting
DW_AT_low_pc/DW_AT_high_pc to DW_AT_ranges. Which closer follows DWARF spec.
Leaving CU DW_AT_low_pc in place. Reading the spec I think it's needed.

Reviewed By: maksfb

Differential Revision: https://reviews.llvm.org/D156957




More information about the All-commits mailing list