[PATCH] D156742: [BOLT][DWARF] Fix handling inlined subroutine with no output pc.
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 14:09:22 PDT 2023
ayermolo created this revision.
Herald added subscribers: treapster, hoy, modimo, wenlei.
Herald added a reviewer: rafauler.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a project: All.
ayermolo requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, jplehr, yota9, sstefan1.
Herald added a project: LLVM.
Clang can generate DW_TAG_inlined_subroutine with low_pc 0. With split dwarf
this led to range offset being a negative number.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156742
Files:
bolt/lib/Rewrite/DWARFRewriter.cpp
bolt/test/X86/Inputs/dwarf4-df-inlined-subroutine-lowpc-0-main.s
bolt/test/X86/Inputs/dwarf5-df-inlined-subroutine-range-0-main.s
bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156742.545801.patch
Type: text/x-patch
Size: 61747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230731/8aac20bb/attachment.bin>
More information about the llvm-commits
mailing list