[all-commits] [llvm/llvm-project] c9b5b1: [GOFF] Add writing of text records

Kai Nacke via All-commits all-commits at lists.llvm.org
Wed Apr 30 07:32:18 PDT 2025


  Branch: refs/heads/users/redstar/goffwriter-4
  Home:   https://github.com/llvm/llvm-project
  Commit: c9b5b19f6f6cb74f0aaf5eac950158342d3a3ada
      https://github.com/llvm/llvm-project/commit/c9b5b19f6f6cb74f0aaf5eac950158342d3a3ada
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/include/llvm/MC/MCSectionGOFF.h
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/MC/GOFFObjectWriter.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCObjectFileInfo.cpp
    M llvm/test/CodeGen/SystemZ/zos-section-1.ll
    M llvm/test/CodeGen/SystemZ/zos-section-2.ll

  Log Message:
  -----------
  [GOFF] Add writing of text records

Sections which are not allowed to carry data are marked as virtual.
Only complication when writing out the text is that it must be
written in chunks of 32k-1 bytes, which is done by having a wrapper
stream writing those records.
Data of BSS sections is not written, since the contents is known to
be zero. Instead, the fill byte value is used.


  Commit: 37f7a1e49dbc56d73f70f1853f87b436f11a9cc7
      https://github.com/llvm/llvm-project/commit/37f7a1e49dbc56d73f70f1853f87b436f11a9cc7
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M llvm/lib/MC/GOFFObjectWriter.cpp

  Log Message:
  -----------
  Fix formatting & move method out of anonymous namespace


  Commit: a5e31c165725d3bc90e8b5934a02ecf100ea0a98
      https://github.com/llvm/llvm-project/commit/a5e31c165725d3bc90e8b5934a02ecf100ea0a98
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M llvm/test/CodeGen/SystemZ/zos-section-1.ll
    M llvm/test/CodeGen/SystemZ/zos-section-2.ll

  Log Message:
  -----------
  Fix test cases


Compare: https://github.com/llvm/llvm-project/compare/6001464d98a4...a5e31c165725

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