[all-commits] [llvm/llvm-project] 4b1532: [MC] Eagerly skip zero-sized .fill fragments
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Tue Apr 25 06:10:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b1532a46f66eb71bf80458fa67b86c618803b95
https://github.com/llvm/llvm-project/commit/4b1532a46f66eb71bf80458fa67b86c618803b95
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M llvm/lib/MC/MCStreamer.cpp
Log Message:
-----------
[MC] Eagerly skip zero-sized .fill fragments
This doesn't change the output in any way, but we have a bunch of
emitFill for padding. When emitting an array of floats we'd end up with
DataFragment float1
FillFragment 0
DataFragment float2
FillFragment 0
... and so on
We never actually emit anything for those fills, neither in asm nor obj
emission mode, they just consume RAM for no reason.
More information about the All-commits
mailing list