[all-commits] [llvm/llvm-project] 612f0f: [BOLT][DWARF] Fix gdb index section

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Thu Jan 27 12:08:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 612f0f4568b9d2cbc809149d4c417bcb5ae0d062
      https://github.com/llvm/llvm-project/commit/612f0f4568b9d2cbc809149d4c417bcb5ae0d062
  Author: Alexander Yermolovich <ayermolo at fb.com>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M bolt/include/bolt/Core/DebugData.h
    M bolt/include/bolt/Rewrite/DWARFRewriter.h
    M bolt/lib/Core/DebugData.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    A bolt/test/X86/Inputs/dwarfdump-gdbindex.s
    A bolt/test/X86/Inputs/dwarfdump-gdbindex2.s
    A bolt/test/X86/gdbindex.test

  Log Message:
  -----------
  [BOLT][DWARF] Fix gdb index section

Since we now re-write .debug_info the DWARF CU Offsets can change.
Just like for .debug_aranges the GDB Index will need to be updated.

Reviewed By: Amir, maksfb

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




More information about the All-commits mailing list