[llvm-branch-commits] [llvm] [SystemZ] Implement ctor/dtor emission via @@SQINIT and .xtor sections (PR #171476)

Tony Tao via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 9 14:48:27 PST 2025


================
@@ -1561,6 +1627,8 @@ void SystemZAsmPrinter::emitStartOfAsmFile(Module &M) {
 }
 
 void SystemZAsmPrinter::emitPPA2(Module &M) {
+  ADASym = getObjFileLowering().getADASection()->getBeginSymbol();
----------------
tltao wrote:

Should we be setting this here instead of `emitStartOfAsmFile`? 

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


More information about the llvm-branch-commits mailing list