[llvm] [SystemZ][z/OS] Move emission of PPA1 (PR #208543)

Kai Nacke via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 07:19:02 PDT 2026


================
@@ -71,11 +72,42 @@ class SystemZTargetStreamer : public MCTargetStreamer {
   virtual void emitADA(MCSymbol *Sym, MCSection *Section) {}
 };
 
-class SystemZTargetGOFFStreamer : public SystemZTargetStreamer {
+class SystemZzOSStreamer : public SystemZTargetStreamer {
 public:
-  SystemZTargetGOFFStreamer(MCStreamer &S) : SystemZTargetStreamer(S) {}
-  const MCExpr *createWordDiffExpr(MCContext &Ctx, const MCSymbol *Hi,
-                                   const MCSymbol *Lo) override;
+  /// Information about a single function needed to emit a PPA1 block.
+  struct PPA1Info {
+    StringRef Name;
+    MCSymbol *Fn = nullptr;          // Symbol marking function begin.
+    MCSymbol *FnEnd = nullptr;       // Symbol marking function end.
+    MCSymbol *PPA1 = nullptr;        // Symbol marking PPA1 begin.
+    MCSymbol *EPMarker = nullptr;    // Symbol marking entry point.
+    MCSymbol *EndOfProlog = nullptr; // Symbol marking the end of the prolog.
+    MCSymbol *StackUpdate = nullptr; // Symbol marking the stack updating instr.
+    MCSymbol *PersonalityRoutine = nullptr;
+    MCSymbol *GCCEH = nullptr;
----------------
redstar wrote:

Thanks, I overlooked that. Removed.

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


More information about the llvm-commits mailing list