[PATCH] D118857: [DWARF][server-llvm] Fix for Aranges when split inlining is present

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 15:50:39 PST 2022


ayermolo created this revision.
Herald added subscribers: hoy, modimo, wenlei, hiraditya.
ayermolo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.

Doing downstream commit to unblock services while dealing with upstream.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118857

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/test/DebugInfo/X86/fission-inline-aranges.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118857.405478.patch
Type: text/x-patch
Size: 5873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/7cd142d6/attachment.bin>


More information about the llvm-commits mailing list