[all-commits] [llvm/llvm-project] 1b901e: MC: Declare MCFragment before MCSection
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Jul 23 19:17:04 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b901e956b1fab56f4457c97c4d6cb43d0076abf
https://github.com/llvm/llvm-project/commit/1b901e956b1fab56f4457c97c4d6cb43d0076abf
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
Log Message:
-----------
MC: Declare MCFragment before MCSection
... so that we can restore `MCFragment DummyFragment;` within
`MCSection` (reverting part of
eedc72b45e953bd21cb5c772b8fd24b414894042).
This is required to remove `allocInitialFragment` from `MCContext`
and postpone initial fragment creation to `changeSection`
to address some design issues.
Pull Request: https://github.com/llvm/llvm-project/pull/150180
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