[all-commits] [llvm/llvm-project] ffcf3c: [CGData][llvm-cgdata] Support for stable function ...

Kyungwoo Lee via All-commits all-commits at lists.llvm.org
Mon Nov 4 17:33:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffcf3c8688f57acaf6a404a1238673c9d197ba9a
      https://github.com/llvm/llvm-project/commit/ffcf3c8688f57acaf6a404a1238673c9d197ba9a
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M lld/test/MachO/cgdata-generate.s
    M llvm/docs/CommandGuide/llvm-cgdata.rst
    M llvm/include/llvm/CGData/CodeGenData.h
    M llvm/include/llvm/CGData/CodeGenData.inc
    M llvm/include/llvm/CGData/CodeGenDataReader.h
    M llvm/include/llvm/CGData/CodeGenDataWriter.h
    M llvm/lib/CGData/CodeGenData.cpp
    M llvm/lib/CGData/CodeGenDataReader.cpp
    M llvm/lib/CGData/CodeGenDataWriter.cpp
    M llvm/test/tools/llvm-cgdata/empty.test
    M llvm/test/tools/llvm-cgdata/error.test
    R llvm/test/tools/llvm-cgdata/merge-archive.test
    A llvm/test/tools/llvm-cgdata/merge-combined-funcmap-hashtree.test
    R llvm/test/tools/llvm-cgdata/merge-concat.test
    R llvm/test/tools/llvm-cgdata/merge-double.test
    A llvm/test/tools/llvm-cgdata/merge-funcmap-archive.test
    A llvm/test/tools/llvm-cgdata/merge-funcmap-concat.test
    A llvm/test/tools/llvm-cgdata/merge-funcmap-double.test
    A llvm/test/tools/llvm-cgdata/merge-funcmap-single.test
    A llvm/test/tools/llvm-cgdata/merge-hashtree-archive.test
    A llvm/test/tools/llvm-cgdata/merge-hashtree-concat.test
    A llvm/test/tools/llvm-cgdata/merge-hashtree-double.test
    A llvm/test/tools/llvm-cgdata/merge-hashtree-single.test
    R llvm/test/tools/llvm-cgdata/merge-single.test
    M llvm/tools/llvm-cgdata/llvm-cgdata.cpp

  Log Message:
  -----------
  [CGData][llvm-cgdata] Support for stable function map (#112664)

This introduces a new cgdata format for stable function maps. The raw
data is embedded in the __llvm_merge section during compile time. This
data can be read and merged using the llvm-cgdata tool, into an indexed
cgdata file. Consequently, the tool is now capable of handling either
outlined hash trees, stable function maps, or both, as they are
orthogonal.

Depends on #112662.
This is a patch for
https://discourse.llvm.org/t/rfc-global-function-merging/82608.



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