[all-commits] [llvm/llvm-project] 790b75: [BOLT][DWARF] Fix adding DW_AT_GNU_ranges_base
Alexander Yermolovich via All-commits
all-commits at lists.llvm.org
Thu Jul 13 10:55:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 790b75ea3646f98f78ab8da6d8237ea36d19c580
https://github.com/llvm/llvm-project/commit/790b75ea3646f98f78ab8da6d8237ea36d19c580
Author: Alexander Yermolovich <ayermolo at meta.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
A bolt/test/X86/Inputs/dwarf4-df-no-base.s
A bolt/test/X86/dwarf4-df-no-base.test
Log Message:
-----------
[BOLT][DWARF] Fix adding DW_AT_GNU_ranges_base
There are cases in DWARF4 when Skeleton CU has ranges, but dwo CU doesn't.
Bug was introduced in new DWARFRewriter where for DWARF4 it would fall through
to DWARF5 case.
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D155033
More information about the All-commits
mailing list