[llvm] [GOFF] Emit symbols for functions. (PR #144437)
Ulrich Weigand via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 11 03:35:09 PST 2025
================
@@ -39,14 +51,46 @@ class MCSymbolGOFF : public MCSymbol {
modifyFlags(SF_LD, SF_LD);
LDAttributes = Attr;
}
- GOFF::LDAttr getLDAttributes() const { return LDAttributes; }
+ const GOFF::LDAttr &getLDAttributes() const { return LDAttributes; }
+ GOFF::LDAttr &getLDAttributes() { return LDAttributes; }
----------------
uweigand wrote:
Why do we need a non-const getter at all here?
https://github.com/llvm/llvm-project/pull/144437
More information about the llvm-commits
mailing list