[llvm-branch-commits] [llvm] [SystemZ] Implement ctor/dtor emission via @@SQINIT and .xtor sections (PR #171476)
Amy Kwan via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 6 11:41:40 PST 2026
================
@@ -2794,6 +2794,10 @@ void TargetLoweringObjectFileGOFF::getModuleMetadata(Module &M) {
TextLD->setWeak(false);
TextLD->setADA(ADAPR);
TextSection->setBeginSymbol(TextLD);
+ // Initialize the label for the ADA section.
+ MCSymbolGOFF *ADASym = static_cast<MCSymbolGOFF *>(
+ getContext().getOrCreateSymbol(ADAPR->getName()));
+ ADAPR->setBeginSymbol(ADASym);
----------------
amy-kwan wrote:
Thanks - I've put up a separate PR for this: https://github.com/llvm/llvm-project/pull/174593
https://github.com/llvm/llvm-project/pull/171476
More information about the llvm-branch-commits
mailing list