[all-commits] [llvm/llvm-project] b0dea4: GOFF: Only register sections within MCObjectStream...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jul 24 20:12:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0dea47ae613b5d4167058ebef6b91b92dea8488
      https://github.com/llvm/llvm-project/commit/b0dea47ae613b5d4167058ebef6b91b92dea8488
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

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

  Log Message:
  -----------
  GOFF: Only register sections within MCObjectStreamer::changeSection

registerSection should only be called by
MCObjectStreamer::changeSection. This will be utilized by a pending
change to move initial fragment allocation from MCContext::createSection
to MCStreamer::changeSection, resolving some issues (Fragments should
only be created when using MCSteramer, not during
`MCContext::getELFSection` calls)

Pull Request: https://github.com/llvm/llvm-project/pull/150183



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