[PATCH] D141969: [bolt][dwarf] Change loclist encoding to use base_addrx

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 14:51:40 PST 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 subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

Doing the same thing as for rangelists. Changing loclists to use base_addrx, it
slightly increases .debug_loclists, but reduces .debug_addr section.

clang-16.bolt

------------------  ----------

.debug_loclists         203398 (0.01%)

.debug_addr           14351448 (0.57%)
--------------------------------------

clang-16.bolt.base

.debug_loclists         198208 (0.01%)
.debug_addr           14415808 (0.58%)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141969

Files:
  bolt/lib/Core/DebugData.cpp
  bolt/test/X86/dwarf5-debug-loclists.s
  bolt/test/X86/dwarf5-df-dualcu-loclist.test
  bolt/test/X86/dwarf5-dwarf4-monolithic.test
  bolt/test/X86/dwarf5-loclist-offset-form.test
  bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
  bolt/test/X86/dwarf5-two-loclists.test
  bolt/test/X86/dwarf5-two-rnglists.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141969.489948.patch
Type: text/x-patch
Size: 20220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230117/ee9979cd/attachment.bin>


More information about the llvm-commits mailing list