[PATCH] D127897: [BOLT][DWARF] Handle range with same low_pc/high_pc
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 15 12:32:01 PDT 2022
ayermolo created this revision.
Herald added subscribers: 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, yota9, sstefan1.
Herald added a project: LLVM.
When we have DW_AT_high_pc with value 0 we convert it to DW_AT_ranges where
start and end are the same. This presents an issue in lldb, and is against DWARF
spec. Changed so that we ponit to end of list in ranges section.
The corresponding LLDB change: https://reviews.llvm.org/D127889
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127897
Files:
bolt/lib/Core/DebugData.cpp
bolt/test/X86/dwarf4-optimized-inlined-function-to-ranges.s
bolt/test/X86/dwarf5-optimized-inlined-function-to-ranges.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127897.437297.patch
Type: text/x-patch
Size: 41311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220615/7f61c559/attachment.bin>
More information about the llvm-commits
mailing list