[all-commits] [llvm/llvm-project] 6ebc42: MCStreamer: Move fragment-related functions to MCO...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jul 20 21:15:57 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCParser/MCTargetAsmParser.cpp
    M llvm/lib/MC/MCStreamer.cpp

  Log Message:
  -----------
  MCStreamer: Move fragment-related functions to MCObjectStreamer

They are specific to MCObjectStreamer and unneeded by MCAsmStreamer.

Add isObj() so that MCTargetAsmParser can determine whether the streamer
is MCObjectStreamer and conditionally call newFragment.



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