[all-commits] [llvm/llvm-project] 3aeab9: MCSection: Remove SectionVariant

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 26 10:24:30 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCSectionCOFF.h
    M llvm/include/llvm/MC/MCSectionDXContainer.h
    M llvm/include/llvm/MC/MCSectionELF.h
    M llvm/include/llvm/MC/MCSectionGOFF.h
    M llvm/include/llvm/MC/MCSectionSPIRV.h
    M llvm/include/llvm/MC/MCSectionWasm.h
    M llvm/include/llvm/MC/MCSectionXCOFF.h
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCSectionMachO.cpp

  Log Message:
  -----------
  MCSection: Remove SectionVariant

The object file format specific derived classes are used in context like
MCStreamer and MCObjectTargetWriter where the type is statically known.
We don't use isa/dyn_cast.



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