[all-commits] [llvm/llvm-project] 96cfc5: [BOLT][DWARF] Always use new low_pc for exprloc

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Tue Aug 8 18:20:31 PDT 2023


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

  Changed paths:
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    A bolt/test/X86/Inputs/dwarf4-df-change-in-dw-op-gnu-addr-index-main.s
    A bolt/test/X86/Inputs/dwarf5-df-change-in-dw-op-gnu-addr-index-main.s
    A bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
    A bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test

  Log Message:
  -----------
  [BOLT][DWARF] Always use new low_pc for exprloc

Changed to creating a new index all the time. This code was legacy of when we
couldn't change the size of .debug_info, and led to subtle bugs where index for
new entries was pointing to a wrong address.

Reviewed By: Amir

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




More information about the All-commits mailing list