[all-commits] [llvm/llvm-project] eedc72: MCSection: Replace DummyFragment with the Subsecti...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jun 1 01:12:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eedc72b45e953bd21cb5c772b8fd24b414894042
      https://github.com/llvm/llvm-project/commit/eedc72b45e953bd21cb5c772b8fd24b414894042
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-06-01 (Sun, 01 Jun 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCFragment.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCSymbol.cpp

  Log Message:
  -----------
  MCSection: Replace DummyFragment with the Subsections[0] head fragment

The dummy fragment is primarily used by MCAsmStreamer::emitLabel to
track the defined state. We can replace it with an arbitrary fragment.

Remove MCDummyFragment introduced for https://github.com/llvm/llvm-project/issues/24860



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