[PATCH] D157355: [BOLT][DWARF] Always use new low_pc for exprloc

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 20:32:40 PDT 2023


ayermolo created this revision.
Herald added subscribers: treapster, hoy, modimo, wenlei, arphaman.
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.

Changed to creating a new index all the time. This code was legacy of when we
couldn't change the size of .debug_info, and led to subtle bugs where index for
new entries was pointing to a wrong address.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157355

Files:
  bolt/lib/Rewrite/DWARFRewriter.cpp
  bolt/test/X86/Inputs/dwarf4-df-change-in-dw-op-gnu-addr-index-main.s
  bolt/test/X86/Inputs/dwarf5-df-change-in-dw-op-gnu-addr-index-main.s
  bolt/test/X86/dwarf4-df-change-in-dw-op-gnu-addr-index-main.test
  bolt/test/X86/dwarf5-df-change-in-dw-op-gnu-addr-index-main.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157355.548047.patch
Type: text/x-patch
Size: 74530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230808/ab735b65/attachment-0001.bin>


More information about the llvm-commits mailing list