[llvm] [SFrames] Emit and relax FREs (PR #158154)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 18 12:35:38 PDT 2025


================
@@ -583,6 +583,19 @@ void MCObjectStreamer::emitDwarfAdvanceFrameAddr(const MCSymbol *LastLabel,
   newFragment();
 }
 
+void MCObjectStreamer::emitSFrameCalculateFuncOffset(const MCSymbol *FuncBase,
----------------
Sterling-Augustine wrote:

Every single MCObjectStreamer::emit* that takes an MCSymbol takes it by pointer, as does every emit* function in the superclass MCStreamer. And all the other subclasses. I think I should leave this as is to match the surrounding code. Hopefully a broad cleanup will migrate everything.

https://github.com/llvm/llvm-project/pull/158154


More information about the llvm-commits mailing list