[llvm] [GOFF] Emit symbols for functions. (PR #144437)

Kai Nacke via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 15 09:01:42 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();
----------------
redstar wrote:

I rewrote the condition.

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


More information about the llvm-commits mailing list