[NFC] Add helper method to ensure min alignment on MCSection
authorGuillaume Chatelet <gchatelet@google.com>
Thu, 24 Nov 2022 20:54:12 +0000 (20:54 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 28 Nov 2022 10:00:34 +0000 (10:00 +0000)
commit702126aec5a375f6e37fb091085acd1c9cea3a5a
treec4239f1a998ff3e99cdce4757d468232914c4dcf
parent99c47d9e3113a917ea2f84f27e57f2ea3da4fc8c
[NFC] Add helper method to ensure min alignment on MCSection

Follow up on D138653.

Differential Revision: https://reviews.llvm.org/D138686
bolt/lib/Core/BinaryEmitter.cpp
llvm/include/llvm/MC/MCSection.h
llvm/lib/MC/MCELFStreamer.cpp
llvm/lib/MC/MCObjectStreamer.cpp
llvm/lib/MC/MCWinCOFFStreamer.cpp
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp