[llvm] [SFrames] Add FDEs for functions with .cfi_startproc (PR #154213)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 20 00:48:31 PDT 2025


================
@@ -36,16 +86,21 @@ class SFrameEmitterImpl {
                .getObjectFileInfo()
                ->getSFrameABIArch()
                .has_value());
+    FDEs.reserve(Streamer.getDwarfFrameInfos().size());
     SFrameABI = *Streamer.getContext().getObjectFileInfo()->getSFrameABIArch();
     FDESubSectionStart = Streamer.getContext().createTempSymbol();
     FRESubSectionStart = Streamer.getContext().createTempSymbol();
     FRESubSectionEnd = Streamer.getContext().createTempSymbol();
   }
 
+  void BuildSFDE(const MCDwarfFrameInfo &DF) {
----------------
jh7370 wrote:

Dumb question potentially, but what does the "S" in this function name mean?

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


More information about the llvm-commits mailing list