[all-commits] [llvm/llvm-project] 1be6cc: [DWARF][codegen] Fix for Aranges when split inlini...

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Wed Feb 9 11:52:43 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1be6ccfc0252f10ff7825ec59377a76c68f0a630
  Author: Alexander Yermolovich <ayermolo at fb.com>
  Date:   2022-02-09 (Wed, 09 Feb 2022)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
    A llvm/test/DebugInfo/X86/fission-inline-aranges.ll
    A llvm/test/DebugInfo/X86/fission-no-inline-aranges.ll

  Log Message:
  [DWARF][codegen] Fix for Aranges when split inlining is present

When we enable -fsplit-dwarf-inlining we end up with two entries
in .debug_aranges for each CU. Because it processes Skeleton CU
inline information and DWO CU.

Furthermore address calculations were incorrect because we were processing sections in Skeleton CU.

Reviewed By: dblaikie

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

More information about the All-commits mailing list