[all-commits] [llvm/llvm-project] 667149: [GOFF] Refactor GOFFOstream

Kai Nacke via All-commits all-commits at lists.llvm.org
Thu Mar 13 06:34:55 PDT 2025


  Branch: refs/heads/users/redstar/goffwriter-1
  Home:   https://github.com/llvm/llvm-project
  Commit: 66714940938ad0a8ee239f9319e21194f34c3dcd
      https://github.com/llvm/llvm-project/commit/66714940938ad0a8ee239f9319e21194f34c3dcd
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

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

  Log Message:
  -----------
  [GOFF] Refactor GOFFOstream

GOFFOstream writes the physical 80 byte records. The records are
connected by flags indicating if there is a successor or a predecessor.
Using the length of the logical record is prone to errors. The new
implementation buffers the last physical record, and writes it out
when new data is written. In this way, the flags can be easily
determined.
No obversable change in functionality, therefore no tests.



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