[llvm] [llvm-profgen] More tweaks to warnings (PR #68608)

via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 16:13:12 PDT 2023


================
@@ -838,6 +849,11 @@ void ProfiledBinary::loadSymbolsFromDWARF(ObjectFile &Obj) {
   if (BinaryFunctions.empty())
     WithColor::warning() << "Loading of DWARF info completed, but no binary "
                             "functions have been retrieved.\n";
+  if (!AddrsWithMultipleSymbols.empty()) {
+    WithColor::warning() << "Found " << AddrsWithMultipleSymbols.size()
+                         << " start addresses have multiple symbols\n";
----------------
WenleiHe wrote:

nit: have -> with

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


More information about the llvm-commits mailing list