[all-commits] [llvm/llvm-project] 786966: [CGData][llvm-cgdata] Support for stable function map

Kyungwoo Lee via All-commits all-commits at lists.llvm.org
Fri Nov 1 08:52:29 PDT 2024


  Branch: refs/heads/users/kyulee-com/cgdata
  Home:   https://github.com/llvm/llvm-project
  Commit: 786966614e23a26dbb86b1742e74da3fb03835a3
      https://github.com/llvm/llvm-project/commit/786966614e23a26dbb86b1742e74da3fb03835a3
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-11-01 (Fri, 01 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

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.


  Commit: 06a49696141d176bfd75ad05355a10ef0908f8b2
      https://github.com/llvm/llvm-project/commit/06a49696141d176bfd75ad05355a10ef0908f8b2
  Author: Kyungwoo Lee <kyulee at meta.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M llvm/lib/CGData/CodeGenDataReader.cpp

  Log Message:
  -----------
  Address comments from ellishg


Compare: https://github.com/llvm/llvm-project/compare/5425db162133...06a49696141d

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