[all-commits] [llvm/llvm-project] f517ac: MCSectionCOFF: Avoid cast
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Jul 26 10:04:26 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f517ac2083ab01294ef5799d2209cd54df9fa116
https://github.com/llvm/llvm-project/commit/f517ac2083ab01294ef5799d2209cd54df9fa116
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-26 (Sat, 26 Jul 2025)
Changed paths:
M llvm/include/llvm/MC/MCMachObjectWriter.h
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
M llvm/tools/dsymutil/MachOUtils.cpp
Log Message:
-----------
MCSectionCOFF: Avoid cast
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 and we want to eliminate
MCSection::SectionVariant in the base class.
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