[all-commits] [llvm/llvm-project] b47b3b: [BOLT][DWARF] Fix handling of DWARF5 DWP (#72729)

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Tue Nov 28 15:54:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b47b3bee7ba500e81646aa9720f5ca1eddd66875
      https://github.com/llvm/llvm-project/commit/b47b3bee7ba500e81646aa9720f5ca1eddd66875
  Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M bolt/include/bolt/Core/DIEBuilder.h
    M bolt/lib/Core/DIEBuilder.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    A bolt/test/X86/Inputs/dwarf5-df-types-dup-helper.s
    A bolt/test/X86/Inputs/dwarf5-df-types-dup-main.s
    A bolt/test/X86/dwarf5-df-types-dup-dwp-input.test

  Log Message:
  -----------
  [BOLT][DWARF] Fix handling of DWARF5 DWP (#72729)

Fixed handling of DWP as input. Before BOLT crashed. Now it will write
out
correct CU, and all the TUs. Potential future improvement is to scan all
the TUs
used in this CU, and only include those.




More information about the All-commits mailing list