[llvm] [GOFF] Emit symbols for functions. (PR #144437)
Ulrich Weigand via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 10:38:11 PST 2025
================
@@ -345,9 +372,13 @@ void GOFFWriter::defineSymbols() {
if (Sym.isTemporary())
continue;
auto &Symbol = static_cast<const MCSymbolGOFF &>(Sym);
- if (Symbol.hasLDAttributes()) {
+ bool IsDefined = Symbol.isDefined();
+ if (IsDefined && static_cast<MCSectionGOFF &>(Symbol.getSection()).isED()) {
----------------
uweigand wrote:
Just wondering: can we ever get a symbol defined in a section that is not ED?
https://github.com/llvm/llvm-project/pull/144437
More information about the llvm-commits
mailing list