[llvm] Gsymutil aggregation similar to DwarfDump --verify (PR #81154)

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 11:45:03 PST 2024


================
@@ -114,8 +115,8 @@ llvm::Error ObjectFileTransformer::convert(const object::ObjectFile &Obj,
         FunctionInfo(*AddrOrErr, size, Gsym.insertString(*Name, NoCopy)));
   }
   size_t FunctionsAddedCount = Gsym.getNumFunctionInfos() - NumBefore;
-  if (Log)
-    *Log << "Loaded " << FunctionsAddedCount
-         << " functions from symbol table.\n";
+  if (Out.IsShowingDetail() && Out.GetOS())
----------------
clayborg wrote:

Do we ever have showing detail == false when `Out.GetOS() != nullptr`?

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


More information about the llvm-commits mailing list