[all-commits] [llvm/llvm-project] fcecf1: [SHT_LLVM_BB_ADDR_MAP] Emit callsite offsets in th...

Rahman Lavaee via All-commits all-commits at lists.llvm.org
Wed Jul 9 11:11:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcecf177c1052815f0bd9d7159dd406e96bb6f62
      https://github.com/llvm/llvm-project/commit/fcecf177c1052815f0bd9d7159dd406e96bb6f62
  Author: Rahman Lavaee <rahmanl at google.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M llvm/docs/Extensions.rst
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/include/llvm/MC/MCContext.h
    M llvm/include/llvm/Object/ELFTypes.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/X86/basic-block-address-map-empty-function.ll
    M llvm/test/CodeGen/X86/basic-block-address-map-function-sections.ll
    M llvm/test/CodeGen/X86/basic-block-address-map-pgo-features.ll
    M llvm/test/CodeGen/X86/basic-block-address-map-with-basic-block-sections.ll
    M llvm/test/CodeGen/X86/basic-block-address-map-with-mfs.ll
    M llvm/test/CodeGen/X86/basic-block-address-map.ll

  Log Message:
  -----------
  [SHT_LLVM_BB_ADDR_MAP] Emit callsite offsets in the `SHT_LLVM_BB_ADDR_MAP` section. (#146563)

Callsite offsets will help map addresses to the right position in the
basic block (before or after a callsite).

This PR also bumps the BBAddrMap version to 3.

The encoding/decoding ability is already pushed upstream
8d7a8fcc3ab9f6d4c4a7e4312876fe94ed3d6c4f.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list