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

Kai Nacke via All-commits all-commits at lists.llvm.org
Thu Jun 26 10:49:32 PDT 2025


  Branch: refs/heads/users/redstar/goffwriter-4
  Home:   https://github.com/llvm/llvm-project
  Commit: 78356cd5b19b1767b849168cee28e1b4b958cc69
      https://github.com/llvm/llvm-project/commit/78356cd5b19b1767b849168cee28e1b4b958cc69
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/include/llvm/MC/MCSectionGOFF.h
    M llvm/lib/MC/GOFFObjectWriter.cpp
    M llvm/lib/MC/MCContext.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.



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