[all-commits] [llvm/llvm-project] 9eb0df: [BOLT][DWARF] Fix handling of inlined subroutine w...
Alexander Yermolovich via All-commits
all-commits at lists.llvm.org
Mon Jul 31 17:13:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9eb0df3aa98eeaf100f31eccf34963cdf1fbb8cd
https://github.com/llvm/llvm-project/commit/9eb0df3aa98eeaf100f31eccf34963cdf1fbb8cd
Author: Alexander Yermolovich <ayermolo at meta.com>
Date: 2023-07-31 (Mon, 31 Jul 2023)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
A bolt/test/X86/Inputs/dwarf4-df-inlined-subroutine-lowpc-0-main.s
A bolt/test/X86/Inputs/dwarf5-df-inlined-subroutine-gc-sections-range-helper.s
A bolt/test/X86/Inputs/dwarf5-df-inlined-subroutine-gc-sections-range-main.s
A bolt/test/X86/Inputs/dwarf5-df-inlined-subroutine-range-0-main.s
A bolt/test/X86/dwarf4-df-inlined-subroutine-lowpc-0.test
A bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
A bolt/test/X86/dwarf5-df-inlined-subroutine-range-0.test
Log Message:
-----------
[BOLT][DWARF] Fix handling of inlined subroutine with no output PC
Clang can generate DW_TAG_inlined_subroutine with low_pc 0. With split dwarf
this led to range offset being a negative number.
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D156742
More information about the All-commits
mailing list