[all-commits] [llvm/llvm-project] 124ca8: [BOLT][DWARF] Change loclist encoding to use base_...

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Fri Jan 20 11:31:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 124ca880aaf8513ce0e93696aa7bb26e237da872
      https://github.com/llvm/llvm-project/commit/124ca880aaf8513ce0e93696aa7bb26e237da872
  Author: Alexander Yermolovich <ayermolo at meta.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

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

  Log Message:
  -----------
  [BOLT][DWARF] Change loclist encoding to use base_addrx

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

| section             | clang-16.bolt.base | clang-16.bolt | raw       |  % |
| debug_loclists |  198208                  |  203398          | 5190     | 102%  |
| .debug_addr    | 14415808              | 14351448        | -64360 |99.5% |

Reviewed By: maksfb

Differential Revision: https://reviews.llvm.org/D141969




More information about the All-commits mailing list